From: Georg Brandl Date: Sat, 16 Apr 2011 15:05:30 +0000 (+0200) Subject: Backport 8a9f8f34d9d5. X-Git-Tag: v3.2.1b1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab8d93c03a4d802c2244ac3323191cb603dfcffd;p=python Backport 8a9f8f34d9d5. --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 2164ec004e..9c260ac113 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -221,7 +221,7 @@ the parser's help message. For example, consider a file named parser.add_argument('--foo', help='foo help') args = parser.parse_args() -If ``-h`` or ``--help`` is supplied is at the command-line, the ArgumentParser +If ``-h`` or ``--help`` is supplied at the command-line, the ArgumentParser help will be printed:: $ python myprogram.py --help