📅  最后修改于: 2022-03-11 14:45:17.410000             🧑  作者: Mango
代码示例2
parser.add_argument('-l','--list', nargs='+', help=' Set flag', required=True)
# Use like:
# python arg.py -l 1234 2345 3456 4567