Message111320
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 |
|
Date |
User |
Action |
Args |
2010-07-23 13:46:36 | bethard | set | recipients:
+ bethard, docs@python |
2010-07-23 13:46:36 | bethard | set | messageid: <1279892796.46.0.177553560445.issue9349@psf.upfronthosting.co.za> |
2010-07-23 13:46:35 | bethard | link | issue9349 messages |
2010-07-23 13:46:34 | bethard | create | |
|