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
Looks like a simple fix. In line 1023, replacing with subparser = subparsers.add_parser(subcommand, formatter_class=parser.formatter_class) fixes this issue.
When using a custom HelpFormatter, subparsers are still using the default
SimpleHelpFormatter
.To Reproduce
Expected behavior
Any subparser should inherit the formatter.
Actual behavior
Default is used
The text was updated successfully, but these errors were encountered: