mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Remove trimming
This commit is contained in:
parent
82de4a55c4
commit
a91a3c12ad
@ -377,7 +377,7 @@ internal static class HelpWriter
|
||||
|
||||
grid.AddRow(
|
||||
arguments.ToString().TrimEnd(),
|
||||
child.Description?.TrimEnd('.') ?? " ");
|
||||
child.Description ?? " ");
|
||||
}
|
||||
|
||||
result.Add(grid);
|
||||
|
@ -1,4 +1,4 @@
|
||||
DESCRIPTION:
|
||||
DESCRIPTION:
|
||||
Contains settings for a cat.
|
||||
|
||||
USAGE:
|
||||
@ -14,4 +14,4 @@ OPTIONS:
|
||||
--agility <VALUE> The agility between 0 and 100
|
||||
|
||||
COMMANDS:
|
||||
lion <TEETH> The lion command
|
||||
lion <TEETH> The lion command.
|
@ -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 <AGE> The dog command
|
||||
horse The horse command
|
||||
dog <AGE> The dog command.
|
||||
horse The horse command.
|
@ -6,5 +6,5 @@ OPTIONS:
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
dog <AGE> The dog command
|
||||
horse The horse command
|
||||
dog <AGE> The dog command.
|
||||
horse The horse command.
|
@ -6,6 +6,6 @@ OPTIONS:
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
dog <AGE> The dog command
|
||||
horse The horse command
|
||||
giraffe <LENGTH> The giraffe command
|
||||
dog <AGE> The dog command.
|
||||
horse The horse command.
|
||||
giraffe <LENGTH> The giraffe command.
|
@ -10,5 +10,5 @@ OPTIONS:
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
dog <AGE> The dog command
|
||||
horse The horse command
|
||||
dog <AGE> The dog command.
|
||||
horse The horse command.
|
@ -10,5 +10,5 @@ OPTIONS:
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
dog <AGE> The dog command
|
||||
horse The horse command
|
||||
dog <AGE> The dog command.
|
||||
horse The horse command.
|
@ -10,4 +10,4 @@ OPTIONS:
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
animal The animal command
|
||||
animal The animal command.
|
Loading…
x
Reference in New Issue
Block a user