Kaydet (Commit) d2914ce0 authored tarafından Georg Brandl's avatar Georg Brandl

Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@)

üst 74883a37
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment