Use getopt to parse sys.argv

more：http://docs.python.org/2/library/getopt.html