tiramisu-cmdline-parser/tests/data/compare/20_choice/argparse.py

3 lines
77 B
Python

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