Author paul.j3
Recipients paul.j3, rrt
Date 2020-10-17.00:34:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Give the positional a non-none default:


    group.add_argument('args', metavar='ARGUMENT', nargs='*', default=[],
                     help='arguments to PROGRAM')

Since a '*' or '?' positional works with an empty list of arguments, it is "always seen".  It requires some special handling to allow it to work in the mutually exclusive context.  It's a tricky piece of code that might not be well documented (if at all).
Date User Action Args
2020-10-17 00:34:43paul.j3setrecipients: + paul.j3, rrt
2020-10-17 00:34:43paul.j3setmessageid: <>
2020-10-17 00:34:43paul.j3linkissue41854 messages
2020-10-17 00:34:43paul.j3create