[Python-checkins] r80064 - python/trunk/Doc/whatsnew/2.7.rst
R. David Murray
rdmurray at bitdance.com
Wed Apr 14 20:40:34 CEST 2010
On Wed, 14 Apr 2010 03:14:59 +0200, andrew.kuchling <python-checkins at python.org> wrote:
> +Unless you override it, :option:`-h` and :option:`--help` switches
> +are automatically added, and produce neatly formatted output::
> +
> + -> ./python.exe argparse-example.py --help
> + usage: parse.py [-h] [-v] [-o FILE] [-C NUM]
According to my testing, that should be:
usage: argparse-example.py [-h] [-v] [-o FILE] [-C NUM] [inputs [inputs ...]]
--
R. David Murray www.bitdance.com
More information about the Python-checkins
mailing list