Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit c27b89d

Browse files
committed
Changing verbose to verbosity in the help options to match what we actually use.
1 parent b42ac76 commit c27b89d

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/dotnet/commands/dotnet-help/HelpUsageText.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Microsoft.DotNet.Tools.Help;
1+
using Microsoft.DotNet.Tools;
2+
using Microsoft.DotNet.Tools.Help;
23

34
internal static class HelpUsageText
45
{
@@ -31,7 +32,7 @@ internal static class HelpUsageText
3132
-d|--diagnostics {LocalizableStrings.SDKDiagnosticsCommandDefinition}
3233
3334
{LocalizableStrings.CommonOptions}:
34-
-v|--verbose {LocalizableStrings.VerboseDefinition}
35+
-v|--verbosity {CommonLocalizableStrings.VerbosityOptionDescription}
3536
-h|--help {LocalizableStrings.HelpDefinition}
3637
3738
{LocalizableStrings.RunDotnetCommandHelpForMore}

src/dotnet/commands/dotnet-help/LocalizableStrings.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ internal class LocalizableStrings
1919

2020
public const string CommonOptions = "Common options";
2121

22-
public const string VerboseDefinition = "Enable verbose output";
23-
2422
public const string DiagnosticsDefinition = "Enable diagnostic output";
2523

26-
public const string HelpDefinition = "Show help";
24+
public const string HelpDefinition = "Show help.";
2725

2826
public const string HostOptions = "Host options (passed before the command)";
2927

test/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ vstest Runs Microsoft Test Execution Command Line Tool.
4343
-d|--diagnostics Enable diagnostic output.
4444
4545
Common options:
46-
-v|--verbose Enable verbose output
47-
-h|--help Show help
46+
-v|--verbosity Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
47+
-h|--help Show help.
4848
4949
Run 'dotnet COMMAND --help' for more information on a command.
5050

0 commit comments

Comments
 (0)