diff --git a/src/dotnet/CommonLocalizableStrings.cs b/src/dotnet/CommonLocalizableStrings.cs index 754df1cdc..3798a3936 100644 --- a/src/dotnet/CommonLocalizableStrings.cs +++ b/src/dotnet/CommonLocalizableStrings.cs @@ -155,6 +155,11 @@ namespace Microsoft.DotNet.Tools /// arguments public const string ArgumentsProjectOrSolutionDescription = "The project or solution to operation on. If a file is not specified, the current directory is searched."; + /// sln + public const string ArgumentsProjectDescription = "The project file to operate on. If a file is not specified, the command will search the current directory for one."; + public const string ArgumentsSolutionDescription = "Solution file to operate on. If not specified, the command will search the current directory for one."; + public const string CmdSlnFile = ""; + /// commands public const string CmdFramework = "FRAMEWORK"; diff --git a/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs b/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs index e5ccd3cbe..5c86e5891 100644 --- a/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-sln/LocalizableStrings.cs @@ -5,22 +5,24 @@ namespace Microsoft.DotNet.Tools.Sln { internal class LocalizableStrings { - public const string AppFullName = ".NET modify solution file(s) command"; + public const string AppFullName = ".NET modify solution file command"; - public const string AppDescription = "Command to add, remove and list projects from the solution (SLN) file."; + public const string AppDescription = "Command to add, remove, and list projects from the solution (SLN) file."; public const string AppHelpText = "Projects to add to the solution."; public const string CmdSlnFile = ""; - - public const string CmdSlnFileText = "Solution file to operate on. If not specified, the command will search the current directory for one."; - + + public const string AddAppFullName = ".NET Add project to a solution file Command"; public const string AddSubcommandHelpText = "Add a specified project to the solution."; + public const string RemoveAppFullName = ".NET Remove project from a solution file Command"; public const string RemoveSubcommandHelpText = "Remove the specified project from the solution. The project is not impacted."; + public const string ListAppFullName = ".NET List project(s) in a solution file Command"; public const string ListSubcommandHelpText = "List all projects in the solution."; + public const string CreateAppFullName = ".NET Create a solution file Command"; public const string CreateSubcommandHelpText = "Create a solution file."; public const string MultipleSlnFilesError = "The current directory contains more than one solution file. Please specify the solution file to use.";