diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 2164ec004e5..9c260ac1131 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