tiramisu-cmdline-parser/tests/data/compare/30_choice_int/argparse.py
2019-07-29 22:10:40 +02:00

3 lines
71 B
Python

parser.add_argument('--door', help='Door numbers', choices=[1, 2, 3])