summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/argparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 7267ae4..2f341b7 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