Message264837
I agree with Berker. Even without any exceptions, the help message given is not what add_argument_group and add_mutually_exclusive_group intend.
You can see
usage: argparse_test.py [-h] [--foo] -u URL -p PROJECT [--dump] --mergeInput
MERGEINPUT [--removeDisabled] -c CHECKERS
Sets the checkers of a klocwork project
optional arguments:
-h, --help show this help message and exit
--foo
-c CHECKERS, --checkers CHECKERS
File which lists the checkers to be enabled.
There is not group name and still optional arguments. And the command line does not show exclusive. I believe they are not designed to work like this. |
|
Date |
User |
Action |
Args |
2016-05-04 16:23:49 | xiang.zhang | set | recipients:
+ xiang.zhang, berker.peksag, Endre |
2016-05-04 16:23:49 | xiang.zhang | set | messageid: <1462379029.61.0.0931683686113.issue26952@psf.upfronthosting.co.za> |
2016-05-04 16:23:49 | xiang.zhang | link | issue26952 messages |
2016-05-04 16:23:49 | xiang.zhang | create | |
|