Skip to content

Commit

Permalink
win,build: fail on invalid option in vcbuild
Browse files Browse the repository at this point in the history
PR-URL: #8412
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
joaocgreis authored and Fishrock123 committed Sep 14, 2016
1 parent afb9917 commit 81d063e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&got
if /i "%1"=="enable-vtune" set enable_vtune_arg=1&goto arg-ok
if /i "%1"=="dll" set dll=1&goto arg-ok

echo Warning: ignoring invalid command line option `%1`.
echo Error: invalid command line option `%1`.
exit /b 1

:arg-ok
:arg-ok
Expand Down

0 comments on commit 81d063e

Please sign in to comment.