throw exception on parse errors
This commit is contained in:
parent
11b7e7e449
commit
204d8594bf
15 changed files with 48 additions and 21 deletions
|
@ -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"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue