Backport 8a9f8f34d9d5.

This commit is contained in:
Georg Brandl 2011-04-16 17:05:30 +02:00
parent 10fe23b495
commit ab8d93c03a

View File

@ -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