We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2012-01-03.17:41:39.246> created_at = <Date 2010-07-23.13:46:35.058> labels = ['docs'] title = "document argparse's help=SUPPRESS" updated_at = <Date 2012-01-03.17:41:39.245> user = 'https://bugs.python.org/bethard'
bugs.python.org fields:
activity = <Date 2012-01-03.17:41:39.245> actor = 'sandro.tosi' assignee = 'docs@python' closed = True closed_date = <Date 2012-01-03.17:41:39.246> closer = 'sandro.tosi' components = ['Documentation'] creation = <Date 2010-07-23.13:46:35.058> creator = 'bethard' dependencies = [] files = [] hgrepos = [] issue_num = 9349 keywords = [] message_count = 2.0 messages = ['111320', '150520'] nosy_count = 4.0 nosy_names = ['bethard', 'sandro.tosi', 'docs@python', 'python-dev'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue9349' versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']
The text was updated successfully, but these errors were encountered:
Argparse supports silencing help for certain options using SUPPRESS.
>>> parser = argparse.ArgumentParser() >>> parser.add_argument('--foo', help=argparse.SUPPRESS) >>> parser.print_help() usage: [-h]
optional arguments: -h, --help show this help message and exit
This should be documented in the description of help=
http://docs.python.org/library/argparse.html#help
Sorry, something went wrong.
New changeset 572ddf2770bc by Sandro Tosi in branch '3.2': Issue bpo-9349: add argparse.SUPPRESS to help doc http://hg.python.org/cpython/rev/572ddf2770bc
New changeset 17b7b856cbe8 by Sandro Tosi in branch '2.7': Issue bpo-9349: add argparse.SUPPRESS to help doc http://hg.python.org/cpython/rev/17b7b856cbe8
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: