diff options
Diffstat (limited to 'Doc/library/optparse.rst')
| -rw-r--r-- | Doc/library/optparse.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index e9b82ee2ac..4f7bd43ce7 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -388,8 +388,8 @@ flag that is turned on with ``-v`` and off with ``-q``:: parser.add_option("-q", action="store_false", dest="verbose") Here we have two different options with the same destination, which is perfectly -OK. (It just means you have to be a bit careful when setting default values--- -see below.) +OK. (It just means you have to be a bit careful when setting default +values---see below.) When :mod:`optparse` encounters ``-v`` on the command line, it sets ``options.verbose`` to ``True``; when it encounters ``-q``, @@ -525,9 +525,9 @@ help message: default: ``"Usage: %prog [options]"``, which is fine if your script doesn't take any positional arguments. -* every option defines a help string, and doesn't worry about line-wrapping--- - :mod:`optparse` takes care of wrapping lines and making the help output look - good. +* every option defines a help string, and doesn't worry about + line-wrapping---\ :mod:`optparse` takes care of wrapping lines and making + the help output look good. * options that take a value indicate this fact in their automatically-generated help message, e.g. for the "mode" option:: |
