argparse._SubParsersAction.add_parser
should default to description
matching help
#135227
Labels
argparse._SubParsersAction.add_parser
should default to description
matching help
#135227
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Proposal:
This currently produces:
It would be nicer, however, if
add_parser
'sdescription
parameter defaulted to the value of thehelp
argument.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
#89438 considered not outputting the value of
help
here to be a bug, but was closed because thedescription
parameter also exists.Linked PRs
help
as defaultdescription
inadd_parser
#135236The text was updated successfully, but these errors were encountered: