Issue with `DefaultHelpTextGenerator` in `GenerateCommands`
hugoqribeiro opened this issue · 2 comments
GenerateCommands
in DefaultHelpTextGenerator
does not handle commands correctly when there are multiple levels of subcommands.
To Reproduce
Steps to reproduce the behavior:
- Version 4.0.1
- Define more than one level of subcommands.
- Execute with arguments:
command1 command2 --help
- The help text under
Run 'XXX' for more information about a command
does not enumerate the commands correctly.
Outputs
Notice the output from the following command line...
li service spec --help
Commands concerning service specifications.
Usage: li service spec [command] [options]
Options:
--help Display help information.
Commands:
merge Merge two or more service spec files.
Run 'spec [command] --help' for more information about a command.
It should be:
Run 'li service spec [command] --help' for more information about a command.
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.
Closing due to inactivity.
If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.