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.

Author bethard
Recipients bethard, docs@python
Date 2010-07-23.13:46:34
SpamBayes Score 0.033463314
Marked as misclassified No
Message-id <1279892796.46.0.177553560445.issue9349@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-07-23 13:46:36bethardsetrecipients: + bethard, docs@python
2010-07-23 13:46:36bethardsetmessageid: <1279892796.46.0.177553560445.issue9349@psf.upfronthosting.co.za>
2010-07-23 13:46:35bethardlinkissue9349 messages
2010-07-23 13:46:34bethardcreate