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
Click prints an incorrect suggestion when using a combination of nested command and required argument. This happens when the nested command shadows the -h option shortcut of the main command which Click apparently tolerates.
Click prints an incorrect suggestion when using a combination of nested command and required argument. This happens when the nested command shadows the
-h
option shortcut of the main command which Click apparently tolerates.Replication
See https://github.com/tumidi/click-subcommand-help-message.
But, actually running the suggested
click-test-cli foo -h
printsInterestingly, Click correctly detects the shadowing of the option when printing the foo command help and prints a consistent help page.
Possible solutions
Fix the generated message, so it prints
Try 'click-test-cli foo --help' for help.
in this case.Environment:
The text was updated successfully, but these errors were encountered: