New submission from purplezephyr:

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

----------
assignee: docs@python
components: Documentation
messages: 195710
nosy: docs@python, purplezephyr
priority: normal
severity: normal
status: open
title: incorrect text in argparse add_help example
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18790>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to