HelpOption display bug #307
Labels
bug
good first issue
This seems like a good issue if you're a new contributor.
help wanted
We would be willing to take a well-written PR to help fix this.
Describe the bug
Help text is missing option name when using default short help template like this
You get following help texts:
instead of
and
instead of
Issue seems to be somewhere in those lines:
https://github.com/natemcmaster/CommandLineUtils/blob/master/src/CommandLineUtils/HelpText/DefaultHelpTextGenerator.cs#L281
https://github.com/natemcmaster/CommandLineUtils/blob/master/src/CommandLineUtils/CommandLineApplication.cs#L994
Also please consider making CommandOption.UnderlyingType and DefaultHelpTextGenerator.ExtractNamesFromEnum protected to make creating custom help generators easier.
The text was updated successfully, but these errors were encountered: