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

3 lines
77 B
Python
Raw Normal View History

2018-11-29 22:10:08 +01:00
parser.add_argument('--door', help='Door numbers', choices=['1', '2', '3'])