Adjusted ProjectArgumentDescription to be a single string rather than divided into two strings.

This commit is contained in:
v-masche 2016-11-16 14:57:57 -08:00
parent 3b8567248a
commit b0077f4f25
2 changed files with 2 additions and 6 deletions

View file

@ -22,9 +22,7 @@
public const string OutputOptionName = "OUTPUT_DIR";
public const string ProjectArgumentDescription1 = "The MSBuild project file to build. If a project file is not specified,";
public const string ProjectArgumentDescription2 = " MSBuild searches the current working directory for a file that has a file extension that ends in `proj` and uses that file.";
public const string ProjectArgumentDescription = "The MSBuild project file to build. 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.";
public const string ProjectArgumentValueName = "PROJECT";

View file

@ -22,9 +22,7 @@ namespace Microsoft.DotNet.Tools.Build
app.ArgumentSeparatorHelpText = HelpMessageStrings.MSBuildAdditionalArgsHelpText;
app.HelpOption("-h|--help");
CommandArgument projectArgument = app.Argument("<{LocalizableStrings.ProjectArgumentValueName}>",
LocalizableStrings.ProjectArgumentDescription1 +
LocalizableStrings.ProjectArgumentDescription2);
CommandArgument projectArgument = app.Argument("<{LocalizableStrings.ProjectArgumentValueName}>", LocalizableStrings.ProjectArgumentDescription);
CommandOption outputOption = app.Option("-o|--output <{LocalizableStrings.OutputOptionName}>", LocalizableStrings.OutputOptionDescription, CommandOptionType.SingleValue);
CommandOption frameworkOption = app.Option("-f|--framework <{LocalizableStrings.FrameworkOptionName}>", LocalizableStrings.FrameworkOptionDescription, CommandOptionType.SingleValue);