summaryrefslogtreecommitdiff
path: root/Doc/library/argparse.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 09:50:49 +0200
committerGeorg Brandl <georg@python.org>2013-10-06 09:50:49 +0200
commitd1830c422d1b74e05b2454dd1631f7147cf332c5 (patch)
tree404d8efb198dbfaa770cef93a66f568e16925d6f /Doc/library/argparse.rst
parent808ddaa3ecc383fca740c6ec2b640c91678d7a59 (diff)
parentd2914ce0f703554638ec696d8e4b34f46e476b65 (diff)
downloadcpython-git-d1830c422d1b74e05b2454dd1631f7147cf332c5.tar.gz
merge with 3.3
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r--Doc/library/argparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index f3eb9dd59e..7c71761905 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -598,10 +598,10 @@ the help options::
>>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='+/')
>>> parser.print_help()
- usage: PROG [-h]
+ usage: PROG [+h]
optional arguments:
- -h, --help show this help message and exit
+ +h, ++help show this help message and exit
The add_argument() method