There are three arguments: A
, B
, C
. How can I use argparse
to allow for any two of them to be set and return an error if all three are set?
If I use the method add_mutually_exclusive_group
, then I think I can only set one and only one of the three arguments. Is there a way to overcome this?