diff options
| author | Georg Brandl <georg@python.org> | 2013-10-06 09:50:49 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-10-06 09:50:49 +0200 |
| commit | d1830c422d1b74e05b2454dd1631f7147cf332c5 (patch) | |
| tree | 404d8efb198dbfaa770cef93a66f568e16925d6f /Doc/library/argparse.rst | |
| parent | 808ddaa3ecc383fca740c6ec2b640c91678d7a59 (diff) | |
| parent | d2914ce0f703554638ec696d8e4b34f46e476b65 (diff) | |
| download | cpython-git-d1830c422d1b74e05b2454dd1631f7147cf332c5.tar.gz | |
merge with 3.3
Diffstat (limited to 'Doc/library/argparse.rst')
| -rw-r--r-- | Doc/library/argparse.rst | 4 |
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 |
