[issue17218] support title and description in argparse add_mutually_exclusive_group
Tatiana Al-Chueyr
report at bugs.python.org
Mon Apr 14 22:03:56 CEST 2014
Tatiana Al-Chueyr added the comment:
My proposal is that both:
- add_mutually_exclusive_group()
- add_argument_group()
print optional arguments in the same way when title and/or description are provided.
I've attached a test case of the proposed behavior.
Please, let me know if you have any objections or suggestions! :)
I'm working on the implementation right now.
Note: it is outside the existing Lib/test/test_argparse.py for clarifying the idea.
BTW: thanks to r.david.murray for mentoring and discussing use cases!
----------
nosy: +paul.j3, r.david.murray, tati_alchueyr
Added file: http://bugs.python.org/file34844/test_argparse_mutex_with_title.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17218>
_______________________________________
More information about the Python-bugs-list
mailing list