Skip to content

add_mutually_exclusive_group() suggests that you cannot add help groups #94787

@scottamain

Description

@scottamain

https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_mutually_exclusive_group

The final note suggests that you cannot add mutually-exclusive groups to a labeled group for organized help output. This is untrue, because you can add a mutually exclusive group to an existing group that has a title/description. I have prepared a CL to improve this documentation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Doc issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions