throw exception on parse errors

This commit is contained in:
Jon Sequeira 2017-03-13 13:29:03 -07:00
parent 11b7e7e449
commit 204d8594bf
15 changed files with 48 additions and 21 deletions

View file

@ -29,7 +29,7 @@ namespace Microsoft.DotNet.Tools.Cache
var result = parser.ParseFrom("dotnet cache", args);
result.ShowHelpIfRequested();
result.ShowHelpOrErrorIfAppropriate();
var appliedBuildOptions = result["dotnet"]["cache"];