Skip to content

Commit 7642724

Browse files
committed
win,build: fail on invalid option in vcbuild
1 parent 143d38c commit 7642724

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vcbuild.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&got
8282
if /i "%1"=="enable-vtune" set enable_vtune_arg=1&goto arg-ok
8383
if /i "%1"=="dll" set dll=1&goto arg-ok
8484

85-
echo Warning: ignoring invalid command line option `%1`.
85+
echo Error: invalid command line option `%1`.
86+
exit /b 1
8687

8788
:arg-ok
8889
:arg-ok

0 commit comments

Comments
 (0)