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
When setting the flag required=true for the function ArgumentParser.add_subparsers() the setting dest=" some description" also needs to be set or the parser throws an unhelpful error when the user fails to select a subparser.
Documentation
When setting the flag
required=true
for the functionArgumentParser.add_subparsers()
the settingdest=" some description"
also needs to be set or the parser throws an unhelpful error when the user fails to select a subparser.This is not covered in the documentation.
Linked PRs
The text was updated successfully, but these errors were encountered: