Closed Guilhermeslucas closed 6 years ago
Done!
Sorry @Guilhermeslucas, I wasn't clear enough. argparser
has an option called choices
, you could do something like:
parser.add_argument('-p', '--protocol', choices=['tcp', 'udb'], default='tcp')
Got it?
Is this it?
Solving issue #2