argparse make one of two arguments required code example
Example 1: argparse required arguments
parser.add_argument('--use-lang', required=True, help="Output language")
Example 2: argparse multiple arguments as list
parser.add_argument('-l','--list', nargs='+', help='<Required> Set flag', required=True)
# Use like:
# python arg.py -l 1234 2345 3456 4567