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 <>
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 
usage: [-h]
                     (--device-get-capabilities | --ptz-absolute-move x y z | --ptz-get-status MEDIA_PROFILE) 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 --ptz-get-status
usage: [-h]
                     (--device-get-capabilities | --ptz-absolute-move x y z | --ptz-get-status MEDIA_PROFILE) error: argument --ptz-get-status: expected one argument
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: <>
2017-12-06 17:43:10paul.j3linkissue18943 messages
2017-12-06 17:43:10paul.j3create