diff -r 14c1ff6a8086 Doc/library/argparse.rst --- a/Doc/library/argparse.rst Tue Mar 11 08:12:48 2014 +0100 +++ b/Doc/library/argparse.rst Tue Mar 18 12:22:01 2014 +0100 @@ -1915,6 +1915,16 @@ :mod:`optparse` had either been copy-pasted over or monkey-patched, it no longer seemed practical to try to maintain the backwards compatibility. +The :mod:`argparse` module improves on the standard library :mod:`optparse` +module in a number of ways including: + +* Handling positional arguments. +* Supporting sub-commands. +* Allowing alternative option prefixes like ``+`` and ``/``. +* Handling zero-or-more and one-or-more style arguments. +* Producing more informative usage messages. +* Providing a much simpler interface for custom ``type`` and ``action``. + A partial upgrade path from :mod:`optparse` to :mod:`argparse`: * Replace all :meth:`optparse.OptionParser.add_option` calls with