diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 09:54:57 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 09:54:57 (GMT) |
commit | 4659ddc433205a4e02e365b9b299221d7ac12113 (patch) | |
tree | d1ff48bf6faeda88d32af413d9230220666fa960 /Doc/library/argparse.rst | |
parent | 758c7d044bb98da9e98654fa91961f54a915712d (diff) | |
parent | 8f1378366e9fc0d7f22fda302f04bf822ae34cc1 (diff) | |
download | cpython-4659ddc433205a4e02e365b9b299221d7ac12113.zip cpython-4659ddc433205a4e02e365b9b299221d7ac12113.tar.gz cpython-4659ddc433205a4e02e365b9b299221d7ac12113.tar.bz2 |
Merge doc fixes from 3.5
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index c6b2bf6..4530304 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -174,7 +174,7 @@ ArgumentParser objects * conflict_handler_ - The strategy for resolving conflicting optionals (usually unnecessary) - * add_help_ - Add a -h/--help option to the parser (default: ``True``) + * add_help_ - Add a ``-h/--help`` option to the parser (default: ``True``) * allow_abbrev_ - Allows long options to be abbreviated if the abbreviation is unambiguous. (default: ``True``) @@ -211,7 +211,7 @@ The help for this program will display ``myprogram.py`` as the program name -h, --help show this help message and exit --foo FOO foo help $ cd .. - $ python subdir\myprogram.py --help + $ python subdir/myprogram.py --help usage: myprogram.py [-h] [--foo FOO] optional arguments: |