mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
build: use broader detection for 'help'
PR-URL: https://github.com/nodejs/node/pull/53045 Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
0d7b5a938c
commit
d0a7272b57
11
vcbuild.bat
11
vcbuild.bat
@ -4,14 +4,9 @@
|
||||
:: explicitly allow them to persist in the calling shell.
|
||||
endlocal
|
||||
|
||||
if /i "%1"=="help" goto help
|
||||
if /i "%1"=="--help" goto help
|
||||
if /i "%1"=="-help" goto help
|
||||
if /i "%1"=="/help" goto help
|
||||
if /i "%1"=="?" goto help
|
||||
if /i "%1"=="-?" goto help
|
||||
if /i "%1"=="--?" goto help
|
||||
if /i "%1"=="/?" goto help
|
||||
set "arg=%1"
|
||||
if /i "%arg:~-1%"=="?" goto help
|
||||
if /i "%arg:~-4%"=="help" goto help
|
||||
|
||||
cd %~dp0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user