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 <rep...@bugs.python.org> <http://bugs.python.org/issue17218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com