paul j3 added the comment:

http://stackoverflow.com/questions/22929087
A question that could be addressed with this patch(es)

In a subparser:

    I have 4 arguments: -g, -wid, -w1, and -w2.

    -w1 and -w2 always appear together

    -wid and (-w1 -w2) are mutually exclusive, but one or the other is required

    -g is optional; if it is not specified only (-w1 -w2) can appear, but not 
-wid

The `g` case does not fit either the inclusive or exclusive group patterns.

----------

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

Reply via email to