mirror of https://github.com/python/cpython
merge with 3.3
This commit is contained in:
commit
d1830c422d
|
@ -598,10 +598,10 @@ the help options::
|
||||||
|
|
||||||
>>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='+/')
|
>>> parser = argparse.ArgumentParser(prog='PROG', prefix_chars='+/')
|
||||||
>>> parser.print_help()
|
>>> parser.print_help()
|
||||||
usage: PROG [-h]
|
usage: PROG [+h]
|
||||||
|
|
||||||
optional arguments:
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
+h, ++help show this help message and exit
|
||||||
|
|
||||||
|
|
||||||
The add_argument() method
|
The add_argument() method
|
||||||
|
|
Loading…
Reference in New Issue