Skip to content

Commit

Permalink
win,build: fail on invalid option in vcbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocgreis committed Sep 1, 2016
1 parent 143d38c commit 7642724
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 7642724

Please sign in to comment.