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 Myles Borins committed Oct 11, 2016
1 parent 75a40d1 commit bc8431e
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 @@ -78,7 +78,8 @@ if /i "%1"=="download-all" set download_arg="--download=all"&goto arg-ok
if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&goto arg-ok
if /i "%1"=="enable-vtune" set enable_vtune_profiling="--enable-vtune-profiling"&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 bc8431e

Please sign in to comment.