[issue22047] argparse improperly prints mutually exclusive options when they are in a group

Sam Kerr report at bugs.python.org
Fri Jul 25 19:37:52 CEST 2014


Sam Kerr added the comment:

I fat fingered the example, sorry:

[ [ -opt1 | -opt2 | -opt3   ] | [ [-opt4] [-opt5] [-opt6] ] ]

Note the new pipe between the 2 subgroups

----------

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


More information about the Python-bugs-list mailing list