Remove trimming

This commit is contained in:
Benjamin Michaelis 2022-10-12 17:12:11 -07:00 committed by Patrik Svensson
parent 82de4a55c4
commit a91a3c12ad
8 changed files with 16 additions and 16 deletions

View File

@ -377,7 +377,7 @@ internal static class HelpWriter
grid.AddRow( grid.AddRow(
arguments.ToString().TrimEnd(), arguments.ToString().TrimEnd(),
child.Description?.TrimEnd('.') ?? " "); child.Description ?? " ");
} }
result.Add(grid); result.Add(grid);

View File

@ -1,4 +1,4 @@
DESCRIPTION: DESCRIPTION:
Contains settings for a cat. Contains settings for a cat.
USAGE: USAGE:
@ -14,4 +14,4 @@ OPTIONS:
--agility <VALUE> The agility between 0 and 100 --agility <VALUE> The agility between 0 and 100
COMMANDS: COMMANDS:
lion <TEETH> The lion command lion <TEETH> The lion command.

View File

@ -1,4 +1,4 @@
DESCRIPTION: DESCRIPTION:
The animal command. The animal command.
USAGE: USAGE:
@ -15,5 +15,5 @@ OPTIONS:
-a, --alive Indicates whether or not the animal is alive -a, --alive Indicates whether or not the animal is alive
COMMANDS: COMMANDS:
dog <AGE> The dog command dog <AGE> The dog command.
horse The horse command horse The horse command.

View File

@ -6,5 +6,5 @@ OPTIONS:
-v, --version Prints version information -v, --version Prints version information
COMMANDS: COMMANDS:
dog <AGE> The dog command dog <AGE> The dog command.
horse The horse command horse The horse command.

View File

@ -6,6 +6,6 @@ OPTIONS:
-v, --version Prints version information -v, --version Prints version information
COMMANDS: COMMANDS:
dog <AGE> The dog command dog <AGE> The dog command.
horse The horse command horse The horse command.
giraffe <LENGTH> The giraffe command giraffe <LENGTH> The giraffe command.

View File

@ -10,5 +10,5 @@ OPTIONS:
-v, --version Prints version information -v, --version Prints version information
COMMANDS: COMMANDS:
dog <AGE> The dog command dog <AGE> The dog command.
horse The horse command horse The horse command.

View File

@ -10,5 +10,5 @@ OPTIONS:
-v, --version Prints version information -v, --version Prints version information
COMMANDS: COMMANDS:
dog <AGE> The dog command dog <AGE> The dog command.
horse The horse command horse The horse command.

View File

@ -10,4 +10,4 @@ OPTIONS:
-v, --version Prints version information -v, --version Prints version information
COMMANDS: COMMANDS:
animal The animal command animal The animal command.