From fce4b9044aec2f0fe8d20e94b114b62217e370d9 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Fri, 23 Sep 2016 16:53:57 -0500 Subject: [PATCH] Respond to PR feedback. --- .../commands/dotnet-publish3/Program.cs | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/dotnet/commands/dotnet-publish3/Program.cs b/src/dotnet/commands/dotnet-publish3/Program.cs index 10c39c69e..fd529c677 100644 --- a/src/dotnet/commands/dotnet-publish3/Program.cs +++ b/src/dotnet/commands/dotnet-publish3/Program.cs @@ -22,14 +22,28 @@ namespace Microsoft.DotNet.Tools.Publish3 app.HelpOption("-h|--help"); CommandArgument projectArgument = app.Argument("", - "The MSBuild project file to publish. If a project file is not specified," + - " MSBuild searches the current working directory for a file that has a file extension that ends in `proj` and uses that file."); + "The MSBuild project file to publish. If a project file is not specified, MSBuild searches the current" + + " working directory for a file that has a file extension that ends in `proj` and uses that file."); - CommandOption frameworkOption = app.Option("-f|--framework ", "Target framework to publish for", CommandOptionType.SingleValue); - CommandOption runtimeOption = app.Option("-r|--runtime ", "Target runtime to publish for", CommandOptionType.SingleValue); - CommandOption outputOption = app.Option("-o|--output ", "Path in which to publish the app", CommandOptionType.SingleValue); - CommandOption configurationOption = app.Option("-c|--configuration ", "Configuration under which to build", CommandOptionType.SingleValue); - CommandOption versionSuffixOption = app.Option("--version-suffix ", "Defines the value for the $(VersionSuffix) property in the project", CommandOptionType.SingleValue); + CommandOption frameworkOption = app.Option( + "-f|--framework ", "Target framework to publish for", + CommandOptionType.SingleValue); + + CommandOption runtimeOption = app.Option( + "-r|--runtime ", "Target runtime to publish for. The default is to publish a portable application.", + CommandOptionType.SingleValue); + + CommandOption outputOption = app.Option( + "-o|--output ", "Path in which to publish the app", + CommandOptionType.SingleValue); + + CommandOption configurationOption = app.Option( + "-c|--configuration ", "Configuration under which to build", + CommandOptionType.SingleValue); + + CommandOption versionSuffixOption = app.Option( + "--version-suffix ", "Defines the value for the $(VersionSuffix) property in the project", + CommandOptionType.SingleValue); app.OnExecute(() => {