trigger help display using HelpException
This commit is contained in:
parent
ea308e9b59
commit
46b799af01
6 changed files with 58 additions and 10 deletions
|
|
@ -25,6 +25,8 @@ namespace Microsoft.DotNet.Tools.Publish
|
|||
|
||||
var result = parser.ParseFrom("dotnet publish", args);
|
||||
|
||||
result.ShowHelpIfRequested();
|
||||
|
||||
msbuildArgs.Add("/t:Publish");
|
||||
|
||||
var appliedPublishOption = result["dotnet"]["publish"];
|
||||
|
|
|
|||
Reference in a new issue