From: Ezio Melotti Date: Sat, 16 Apr 2011 20:13:50 +0000 (+0300) Subject: Fix a few more hyphens in argparse.rst X-Git-Tag: v3.2.1b1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2409d770d9eefd17133b2446c1cb9719e3081726;p=thirdparty%2FPython%2Fcpython.git Fix a few more hyphens in argparse.rst --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index ce58e886d604..0e05b49c6963 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -2,7 +2,7 @@ =============================================================================== .. module:: argparse - :synopsis: Command-line option and argument parsing library. + :synopsis: Command-line option and argument-parsing library. .. moduleauthor:: Steven Bethard .. sectionauthor:: Steven Bethard @@ -12,7 +12,7 @@ -------------- -The :mod:`argparse` module makes it easy to write user friendly command line +The :mod:`argparse` module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and :mod:`argparse` will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse` module also automatically generates help and usage messages and issues errors @@ -594,7 +594,7 @@ The add_argument() method * default_ - The value produced if the argument is absent from the command line. - * type_ - The type to which the command-line arg should be converted. + * type_ - The type to which the command-line argument should be converted. * choices_ - A container of the allowable values for the argument.