Skip to content

Commit b3090f8

Browse files
joaocgreisMylesBorins
authored andcommitted
win,build: fail on invalid option in vcbuild
PR-URL: #8412 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 880ca99 commit b3090f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vcbuild.bat

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ if /i "%1"=="download-all" set download_arg="--download=all"&goto arg-ok
7878
if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&goto arg-ok
7979
if /i "%1"=="enable-vtune" set enable_vtune_profiling="--enable-vtune-profiling"&goto arg-ok
8080

81-
echo Warning: ignoring invalid command line option `%1`.
81+
echo Error: invalid command line option `%1`.
82+
exit /b 1
8283

8384
:arg-ok
8485
:arg-ok

0 commit comments

Comments
 (0)