Minor, output test

This commit is contained in:
2026-08-31 13:51:14 +02:00
parent 3bc153e0a1
commit a1ff8ab745
+1 -1
View File
@@ -82,8 +82,8 @@ IF NOT "%~1"=="" (
:safchek
:: Validate if output file is set
FOR %%f IN ("%output%") DO SET "out_base=%%~nf"
IF "%output%"=="" ( ECHO %RED%Missing value for -o%OFF% & GOTO :EOF )
FOR %%f IN ("%output%") DO SET "out_base=%%~nf"
IF DEFINED out_base (
IF "!out_base:~0,1!"=="-" ( ECHO %RED%Missing value for -o%OFF% & GOTO :EOF )
)