New submission from Steven Bethard <[email protected]>:

[Moved from http://code.google.com/p/argparse/issues/detail?id=53]

It's currently not possible to have subcommands formatted in groups, e.g. 
instead of:

subcommands:
  {a,b,c,d,e}
    a          a subcommand help
    b          b subcommand help
    c          c subcommand help
    d          d subcommand help
    e          e subcommand help 

you should be able to get something like:

subcommands:
  group1:
    a          a subcommand help
    b          b subcommand help
    c          c subcommand help
  group2:
    d          d subcommand help
    e          e subcommand help

----------
components: Library (Lib)
messages: 111290
nosy: bethard
priority: normal
severity: normal
stage: needs patch
status: open
title: allow argparse subcommands to be grouped
type: feature request

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9341>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to