Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for %%i in (%args%) do (
- set "recognized=0"
- if "%%i"=="--help" (
- set "recognized=1"
- echo buildify version 2013-dev
- echo Usage:
- echo --"buildify [options]"
- echo Possible options:
- echo -bv : Uses a higher level of verbosity
- echo --help : Prints this help message and exits
- exit /b 0
- )
- if "%%i"=="-bv" (
- set "verbose=1"
- set "recognized=1"
- )
- REM so use if defined %verbose%
- set "print=0"
- if "%%i"=="--print-compilation-commands" (
- set "print=1"
- set "recognized=1"
- )
- if "%%i"=="-pcc" (
- set "print=1"
- set "recognized=1"
- )
- if "!print!"=="1" set "prtcmpcmds=1"
- REM so use if defined %prtcmpcmds%
- if "!recognized!"=="0" echo Command-line argument %%i not recognized^^!
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement