[issue9341] allow argparse subcommands to be grouped

2014-07-15 Thread paul j3
paul j3 added the comment: This patch probably won't work with [parents]. see http://bugs.python.org/issue16807 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9341 ___

[issue9341] allow argparse subcommands to be grouped

2014-06-22 Thread paul j3
paul j3 added the comment: This patch accomplishes this task by adding a _PseudoGroup class to _SubParsersAction. It's like the _ChoicesPseudoAction except that it maintains its own _choices_actions list. It takes advantage of the fact that formatter._format_actions is recursive when it

[issue9341] allow argparse subcommands to be grouped

2014-06-16 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +paul.j3 versions: +Python 2.7, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9341 ___

[issue9341] allow argparse subcommands to be grouped

2013-04-13 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9341 ___ ___ Python-bugs-list mailing

[issue9341] allow argparse subcommands to be grouped

2010-07-23 Thread Steven Bethard
New submission from Steven Bethard steven.beth...@gmail.com: [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

[issue9341] allow argparse subcommands to be grouped

2010-07-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok resolution: - accepted versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9341 ___