We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ec2af commit 117ff5fCopy full SHA for 117ff5f
vcbuild.bat
@@ -4,14 +4,9 @@
4
:: explicitly allow them to persist in the calling shell.
5
endlocal
6
7
-if /i "%1"=="help" goto help
8
-if /i "%1"=="--help" goto help
9
-if /i "%1"=="-help" goto help
10
-if /i "%1"=="/help" goto help
11
-if /i "%1"=="?" goto help
12
-if /i "%1"=="-?" goto help
13
-if /i "%1"=="--?" goto help
14
-if /i "%1"=="/?" goto help
+set "arg=%1"
+if /i "%arg:~-1%"=="?" goto help
+if /i "%arg:~-4%"=="help" goto help
15
16
cd %~dp0
17
0 commit comments