buildconf.bat: Added display of usage text with -help
This commit is contained in:
parent
df5965ebf4
commit
33de75ed63
@ -30,6 +30,11 @@ rem This file is not included or required for curl's release archives or daily
|
|||||||
rem snapshot archives.
|
rem snapshot archives.
|
||||||
|
|
||||||
:begin
|
:begin
|
||||||
|
rem Display the help
|
||||||
|
if /i "%~1" == "-?" goto syntax
|
||||||
|
if /i "%~1" == "-h" goto syntax
|
||||||
|
if /i "%~1" == "-help" goto syntax
|
||||||
|
|
||||||
if not exist GIT-INFO goto nogitinfo
|
if not exist GIT-INFO goto nogitinfo
|
||||||
|
|
||||||
:start
|
:start
|
||||||
@ -56,6 +61,12 @@ cd ..
|
|||||||
:end_c_ares
|
:end_c_ares
|
||||||
goto success
|
goto success
|
||||||
|
|
||||||
|
:syntax
|
||||||
|
rem Display the help
|
||||||
|
echo.
|
||||||
|
echo Usage: buildconf
|
||||||
|
goto error
|
||||||
|
|
||||||
:nogitinfo
|
:nogitinfo
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: This file shall only be used with a curl git tree checkout.
|
echo ERROR: This file shall only be used with a curl git tree checkout.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user