This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年07月23日 13:46 by bethard, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg111320 - (view) | Author: Steven Bethard (bethard) * (Python committer) | Date: 2010年07月23日 13:46 | |
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
|
|||
| msg150520 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年01月03日 17:39 | |
New changeset 572ddf2770bc by Sandro Tosi in branch '3.2': Issue #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 #9349: add argparse.SUPPRESS to help doc http://hg.python.org/cpython/rev/17b7b856cbe8 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:04 | admin | set | github: 53595 |
| 2012年10月18日 16:38:21 | bethard | link | issue12686 superseder |
| 2012年01月03日 17:41:39 | sandro.tosi | set | status: open -> closed versions: + Python 3.3 nosy: + sandro.tosi resolution: fixed stage: resolved |
| 2012年01月03日 17:39:10 | python-dev | set | nosy:
+ python-dev messages: + msg150520 |
| 2010年07月23日 13:46:35 | bethard | create | |