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 <[email protected]>
  • Loading branch information
joaocgreis authored and MylesBorins committed Oct 26, 2016
1 parent 880ca99 commit b3090f8
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 b3090f8

Please sign in to comment.