You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a single space instead of an empty string for the description causes newlines to be added, but there are gaps between some of the options. Here is an example using x instead of a space for visibility.
USAGE: kensaku kanji [--help] [--strokes <int>] [--min-strokes <int>]
[--max-strokes <int>] [--include-stroke-miscounts]
[--radicals <string>] [--skip-code <string>]
[--sh-code <string>] [--four-corner-code <string>]
[--deroo-code <string>] [--reading <string>]
[--nanori <string>] [--common-only] [--pattern <string>]
OPTIONS:
--strokes <int> x
--min-strokes <int> x
--max-strokes <int> x
--include-stroke-miscounts
x
--radicals <string> x
--skip-code <string> x
--sh-code <string> x
--four-corner-code <string>
x
--deroo-code <string> x
--reading <string> x
--nanori <string> This is a very long description which needs to be
wrapped to multiple lines in order to fit
--common-only x
--pattern <string> x
--help display this list of options.
Related information
Linux
.NET 6.0.102
The text was updated successfully, but these errors were encountered:
Description
The help message is formatted incorrectly when any of the options have an empty description.
Repro steps
Create a subcommand with empty argument descriptions. Then run the program and print the help message.
Expected behavior
The help message should be formatted with newlines between the options, like this.
Actual behavior
Instead the output looks like this.
Known workarounds
Using a single space instead of an empty string for the description causes newlines to be added, but there are gaps between some of the options. Here is an example using
x
instead of a space for visibility.Related information
The text was updated successfully, but these errors were encountered: