-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--help does not show subcommand description if there are any other parameters present #222
Labels
Comments
/bounty $100 |
💎 $100 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio-cli! Add a bounty • Share on socials
|
@jdegoes @adamgfraser Please assign this to me. |
@ithinkicancode Done! |
Merged
💡 @pablf submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproducer:
Expected behaviour: result for
a --help
and--param text a --help
should be the same - help fora
subcommand.Actual result:
--param text a --help
shows root doc instead.Correct result:
$ ./bin/test a --help ... USAGE $ test a b COMMANDS b
Incorrect result:
$ ./bin/test --param text a --help ... USAGE $ test --param text a b OPTIONS --param text A user-defined piece of text. COMMANDS a
See minimal reproducer here: https://github.com/senia-psm/zio-cli-222
The text was updated successfully, but these errors were encountered: