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 purplezephyr
Recipients docs@python, purplezephyr
Date 2013-08-20.18:58:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377025104.92.0.641943823333.issue18790@psf.upfronthosting.co.za>
In-reply-to
Content
The last example under add_help in the documentation for the argparse module has incorrect text.  It is supposed to demonstrate what happens when prefix_chars doesn't include '-', and add_help is True, but the example has the following:

  usage: PROG [-h]

  optional arguments:
    -h, --help  show this help message and exit

instead of:

  usage: PROG [+h]

  optional arguments:
    +h, ++help  show this help message and exit
History
Date User Action Args
2013-08-20 18:58:24purplezephyrsetrecipients: + purplezephyr, docs@python
2013-08-20 18:58:24purplezephyrsetmessageid: <1377025104.92.0.641943823333.issue18790@psf.upfronthosting.co.za>
2013-08-20 18:58:24purplezephyrlinkissue18790 messages
2013-08-20 18:58:24purplezephyrcreate