This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients bethard, louielu, paul.j3, pitrou, talkless, wolma
Date 2017-12-06.17:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512582190.63.0.213398074469.issue18943@psf.upfronthosting.co.za>
In-reply-to
Content
Did you copy the output right?  Testing your parser:

Without any arguments, I get the exclusive group error - the group is required:

0930:~/mypy/argdev$ python3 issue18943.py 
usage: issue18943.py [-h]
                     (--device-get-capabilities | --ptz-absolute-move x y z | --ptz-get-status MEDIA_PROFILE)
issue18943.py: error: one of the arguments --device-get-capabilities --ptz-absolute-move --ptz-get-status is required

0931:~/mypy/argdev$ python3 --version
Python 3.5.2

With one flag but not its argument, I get the error that you display.  That has nothing to do with the grouping.

0932:~/mypy/argdev$ python3 issue18943.py --ptz-get-status
usage: issue18943.py [-h]
                     (--device-get-capabilities | --ptz-absolute-move x y z | --ptz-get-status MEDIA_PROFILE)
issue18943.py: error: argument --ptz-get-status: expected one argument
History
Date User Action Args
2017-12-06 17:43:10paul.j3setrecipients: + paul.j3, pitrou, bethard, wolma, louielu, talkless
2017-12-06 17:43:10paul.j3setmessageid: <1512582190.63.0.213398074469.issue18943@psf.upfronthosting.co.za>
2017-12-06 17:43:10paul.j3linkissue18943 messages
2017-12-06 17:43:10paul.j3create