I am using argparse. Let's say i want to run a python script with 2 mandatory arguments and for each argument, i also include the option (-flag). Something like below:
$ python test.py -arg1 abc -arg2 xyz
Also, is it possible to allow 2 flag names (short and long names) say -arg1 and -a1?
test.py abc xyz. It is troubling to identify mandatory arguments from the named argumens in the usage listing.