Nick Coghlan <ncogh...@gmail.com> added the comment:

I realised that my initial idea doesn't play nicely with my other suggestion of 
allowing a "metavar" argument to add_subparsers() (see #14039).

A better model may be to mimic the add_argument_group() directly by offering an 
add_parser_group() method on the subparser management object.

This would allow ungrouped commands to be presented first, with grouped 
commands following under their own headings.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14037>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to