From b0077f4f25fcb669758bcfe22c53d2d40fb0401a Mon Sep 17 00:00:00 2001 From: v-masche Date: Wed, 16 Nov 2016 14:57:57 -0800 Subject: [PATCH] Adjusted ProjectArgumentDescription to be a single string rather than divided into two strings. --- src/dotnet/commands/dotnet-build/LocalizableStrings.cs | 4 +--- src/dotnet/commands/dotnet-build/Program.cs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs b/src/dotnet/commands/dotnet-build/LocalizableStrings.cs index 149604ce0..4e83c08f2 100644 --- a/src/dotnet/commands/dotnet-build/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-build/LocalizableStrings.cs @@ -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"; diff --git a/src/dotnet/commands/dotnet-build/Program.cs b/src/dotnet/commands/dotnet-build/Program.cs index 59336550e..3efd944ec 100644 --- a/src/dotnet/commands/dotnet-build/Program.cs +++ b/src/dotnet/commands/dotnet-build/Program.cs @@ -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);