[New-bugs-announce] [issue16940] argparse 15.4.5.1. Sub-commands documentation missing indentation

paul j3 report at bugs.python.org
Sat Jan 12 05:00:57 CET 2013


New submission from paul j3:

Argparse
15.4.5.1. Sub-commands

In the example:

>>> parser.parse_args(['--help'])
usage: PROG [-h] [--foo] {a,b} ...

positional arguments:
  {a,b}   sub-command help
a     a help
b     b help

optional arguments:
  -h, --help  show this help message and exit
  --foo   foo help

The 'a help', 'b help' lines should be indented

----------
assignee: docs at python
components: Documentation
messages: 179766
nosy: docs at python, paul.j3
priority: normal
severity: normal
status: open
title: argparse 15.4.5.1. Sub-commands documentation missing indentation
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16940>
_______________________________________


More information about the New-bugs-announce mailing list