version 1.2, 2013/08/26 20:51:24
|
version 1.4, 2015/07/27 20:54:52
|
Line 1
|
Line 1
|
#!/usr/bin/python |
#!/usr/bin/python |
|
# -*- coding: utf-8 -*- |
|
|
""" |
""" |
+------------------------------------------------------------------------------ |
+------------------------------------------------------------------------------ |
Line 23 import argparse
|
Line 24 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') |