$ ./maps.py -h
Usage: ./maps.py [-h --help] [-s --specify=arg] [-t --automatic]
Mandatory arguments to long options are mandatory for short options too.
-s --specify=ARGUMENT print specified argument
-a --automatic print predefined
-h --help display this help and exit
$ ./maps.py -a
I like Yahoo maps
$ ./maps.py --automatic
I like Yahoo maps
$ ./maps.py -s amazon
I like amazon maps
$ ./maps.py -s google
Google maps is the BEST!
True that, DOUBLE TRUE!
No comments:
Post a Comment