diff options
Diffstat (limited to 'projects/checksrc.bat')
-rw-r--r-- | projects/checksrc.bat | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 8a2f63af2..37dc808a9 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -26,10 +26,14 @@ rem *************************************************************************** if not "%OS%" == "Windows_NT" goto nodos setlocal - rem Display the help - if /i "%~1" == "-?" goto syntax - if /i "%~1" == "-h" goto syntax - if /i "%~1" == "-help" goto syntax +:parseArgs + if /i "%~1" == "-?" ( + goto syntax + ) else if /i "%~1" == "-h" ( + goto syntax + ) else if /i "%~1" == "-help" ( + goto syntax + ) :prerequisites rem Check we have Perl installed |