[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

Michael Twomey report at bugs.python.org
Sat Jul 6 16:19:15 CEST 2013


Michael Twomey added the comment:

I've picked up on this as part of the EP 2013 sprints.

I've attached a patch which implements the behaviour described in the comments. It doesn't break any existing functionality but the help generated by argparse is definitely not quite right.

----------
keywords: +patch
nosy: +micktwomey
Added file: http://bugs.python.org/file30818/args_in_multiple_mutually_exclusive_groups.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10984>
_______________________________________


More information about the Python-bugs-list mailing list