Author chr0139
Recipients chr0139
Date 2019-06-11.08:53:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560243186.93.0.426375916497.issue37227@roundup.psfhosted.org>
In-reply-to
Content
I have this script

import argparse
parser = argparse.ArgumentParser()
group = parser.add_mutually_exclusive_group()
group.add_argument('-l', '--list', action='store_true', help="show help")
group.add_argument('-u', '--upgrade', action='store_true', help="show help")
parser.parse_args(['--li'])

and this is the unexpected result:

Namespace(list=True, upgrade=False)
History
Date User Action Args
2019-06-11 08:53:06chr0139setrecipients: + chr0139
2019-06-11 08:53:06chr0139setmessageid: <1560243186.93.0.426375916497.issue37227@roundup.psfhosted.org>
2019-06-11 08:53:06chr0139linkissue37227 messages
2019-06-11 08:53:06chr0139create