[issue9349] document argparse's help=SUPPRESS
Steven Bethard
report at bugs.python.org
Fri Jul 23 15:46:36 CEST 2010
New submission from Steven Bethard <steven.bethard at gmail.com>:
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
----------
assignee: docs at python
components: Documentation
messages: 111320
nosy: bethard, docs at python
priority: normal
severity: normal
status: open
title: document argparse's help=SUPPRESS
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9349>
_______________________________________
More information about the Python-bugs-list
mailing list