diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index f3eb9dd59ee..7c717619050 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