summaryrefslogtreecommitdiff
path: root/projects/generate.bat
diff options
context:
space:
mode:
Diffstat (limited to 'projects/generate.bat')
-rw-r--r--projects/generate.bat11
1 files changed, 6 insertions, 5 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index de4ff4dfb..36778e810 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -58,11 +58,6 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
gzip --version <NUL 1>NUL 2>&1
if %ERRORLEVEL% equ 0 (set HAVE_GZIP=Y) else (set HAVE_GZIP=)
- rem Display the help
- if /i "%~1" == "-?" goto syntax
- if /i "%~1" == "-h" goto syntax
- if /i "%~1" == "-help" goto syntax
-
:parseArgs
if "%~1" == "" goto start
@@ -86,6 +81,12 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
set VERSION=VC14
) else if /i "%~1" == "-clean" (
set MODE=CLEAN
+ ) else if /i "%~1" == "-?" (
+ goto syntax
+ ) else if /i "%~1" == "-h" (
+ goto syntax
+ ) else if /i "%~1" == "-help" (
+ goto syntax
) else (
goto unknown
)