Remove argument separator from commands (#5080)
* Remove argument separator from commands Currently, the argument separator (`--`) is only supported on `dotnet run`. This PR removes it from other commands to make the help and usage of these command clearer. * Adding dotnet run message test * Responding to PR feedback
This commit is contained in:
parent
2d5e40f3ba
commit
b467d66182
8 changed files with 23 additions and 10 deletions
|
|
@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Tools.Publish
|
|||
app.Name = "dotnet publish";
|
||||
app.FullName = LocalizableStrings.AppFullName;
|
||||
app.Description = LocalizableStrings.AppDescription;
|
||||
app.AllowArgumentSeparator = true;
|
||||
app.HandleRemainingArguments = true;
|
||||
app.ArgumentSeparatorHelpText = HelpMessageStrings.MSBuildAdditionalArgsHelpText;
|
||||
app.HelpOption("-h|--help");
|
||||
|
||||
|
|
|
|||
Reference in a new issue