version 1.2, 2013/08/26 20:51:24
|
version 1.3, 2013/09/30 20:38:03
|
Line 23 import argparse
|
Line 23 import argparse
|
|
|
|
|
def fetchOptions(): |
def fetchOptions(): |
parse = argparse.OptionParser() |
parse = argparse.ArgumentParser() |
parse.add_argument('-m', '--man', help='Display the man page', \ |
parse.add_argument('-m', '--man', help='Display the man page', \ |
dest='man', default=False, action='store_true') |
dest='man', default=False, action='store_true') |
parse.add_argument('-t', '--test', help='Test Argument', dest='test') |
parse.add_argument('-t', '--test', help='Test Argument', dest='test') |