diff --git a/src/Spectre.Console.Cli/Internal/HelpWriter.cs b/src/Spectre.Console.Cli/Internal/HelpWriter.cs index ee909e6..1f7cc37 100644 --- a/src/Spectre.Console.Cli/Internal/HelpWriter.cs +++ b/src/Spectre.Console.Cli/Internal/HelpWriter.cs @@ -377,7 +377,7 @@ internal static class HelpWriter grid.AddRow( arguments.ToString().TrimEnd(), - child.Description?.TrimEnd('.') ?? " "); + child.Description ?? " "); } result.Add(grid); diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/Command.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/Command.Output.verified.txt index 0cf3f19..c016ef7 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/Command.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/Command.Output.verified.txt @@ -1,4 +1,4 @@ -DESCRIPTION: +DESCRIPTION: Contains settings for a cat. USAGE: @@ -14,4 +14,4 @@ OPTIONS: --agility The agility between 0 and 100 COMMANDS: - lion The lion command \ No newline at end of file + lion The lion command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/CommandExamples.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/CommandExamples.Output.verified.txt index a45af87..8d9171d 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/CommandExamples.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/CommandExamples.Output.verified.txt @@ -1,4 +1,4 @@ -DESCRIPTION: +DESCRIPTION: The animal command. USAGE: @@ -15,5 +15,5 @@ OPTIONS: -a, --alive Indicates whether or not the animal is alive COMMANDS: - dog The dog command - horse The horse command \ No newline at end of file + dog The dog command. + horse The horse command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/Hidden_Commands.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/Hidden_Commands.Output.verified.txt index 6a792da..b53e771 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/Hidden_Commands.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/Hidden_Commands.Output.verified.txt @@ -6,5 +6,5 @@ OPTIONS: -v, --version Prints version information COMMANDS: - dog The dog command - horse The horse command \ No newline at end of file + dog The dog command. + horse The horse command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/Root.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/Root.Output.verified.txt index 366b6b3..cf1e2ac 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/Root.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/Root.Output.verified.txt @@ -6,6 +6,6 @@ OPTIONS: -v, --version Prints version information COMMANDS: - dog The dog command - horse The horse command - giraffe The giraffe command \ No newline at end of file + dog The dog command. + horse The horse command. + giraffe The giraffe command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples.Output.verified.txt index 6f5066a..248a766 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples.Output.verified.txt @@ -10,5 +10,5 @@ OPTIONS: -v, --version Prints version information COMMANDS: - dog The dog command - horse The horse command \ No newline at end of file + dog The dog command. + horse The horse command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Children.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Children.Output.verified.txt index 6f5066a..248a766 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Children.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Children.Output.verified.txt @@ -10,5 +10,5 @@ OPTIONS: -v, --version Prints version information COMMANDS: - dog The dog command - horse The horse command \ No newline at end of file + dog The dog command. + horse The horse command. \ No newline at end of file diff --git a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Leafs.Output.verified.txt b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Leafs.Output.verified.txt index 7d3b86e..3a8ccb5 100644 --- a/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Leafs.Output.verified.txt +++ b/test/Spectre.Console.Cli.Tests/Expectations/Help/RootExamples_Leafs.Output.verified.txt @@ -10,4 +10,4 @@ OPTIONS: -v, --version Prints version information COMMANDS: - animal The animal command \ No newline at end of file + animal The animal command. \ No newline at end of file