Skip to content

feature request: --advanced-help feature for argparse #98664

Open
@kenyee

Description

@kenyee

Feature or enhancement

We have a complex CLI tool in python that our users use and we'd like to hide some parameters as "advanced" so
they only show w/ a --advanced-help command.

Pitch

Some parameters are useful for debugging of the script or for advanced features that most users won't care about.
It would be nice to hide these from the common parameters you can see w/ the -h output.

Previous discussion

https://discuss.python.org/t/advanced-help-for-argparse/20319

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    Status

    Features

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions