list command help text fix

This commit is contained in:
Jon Sequeira 2017-03-14 16:13:49 -07:00
parent 06ad3a686f
commit 11270a436b
2 changed files with 6 additions and 3 deletions

View file

@ -2,6 +2,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information. // Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.CommandLine;
using LocalizableStrings = Microsoft.DotNet.Tools.List.ProjectToProjectReferences.LocalizableStrings;
namespace Microsoft.DotNet.Cli namespace Microsoft.DotNet.Cli
{ {
@ -16,7 +17,8 @@ namespace Microsoft.DotNet.Cli
"The project file to operate on. If a file is not specified, the command will search the current directory for one.") "The project file to operate on. If a file is not specified, the command will search the current directory for one.")
.DefaultToCurrentDirectory(), .DefaultToCurrentDirectory(),
CommonOptions.HelpOption(), CommonOptions.HelpOption(),
Create.Command("reference", "Command to list project to project references", Create.Command("reference",
LocalizableStrings.AppFullName,
Accept.ExactlyOneArgument(), Accept.ExactlyOneArgument(),
CommonOptions.HelpOption())); CommonOptions.HelpOption()));
} }

View file

@ -18,10 +18,11 @@ namespace Microsoft.DotNet.Cli.List.Reference.Tests
Usage: dotnet list <PROJECT> reference [options] Usage: dotnet list <PROJECT> reference [options]
Arguments: Arguments:
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one. <PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
Options: Options:
-h|--help Show help information"; -h, --help Show help information
";
const string FrameworkNet451Arg = "-f net451"; const string FrameworkNet451Arg = "-f net451";
const string ConditionFrameworkNet451 = "== 'net451'"; const string ConditionFrameworkNet451 = "== 'net451'";