--- templates/template.py 2013/08/26 20:51:24 1.2 +++ templates/template.py 2015/07/27 20:54:52 1.4 @@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- """ +------------------------------------------------------------------------------ @@ -6,7 +7,7 @@ | Copyright Nicholas DeClario 2013 | Nicholas DeClario | March 2013 -| $Id: template.py,v 1.2 2013/08/26 20:51:24 nick Exp $ +| $Id: template.py,v 1.4 2015/07/27 20:54:52 nick Exp $ | +------------------------------------------------------------------------------ @@ -23,7 +24,7 @@ import argparse def fetchOptions(): - parse = argparse.OptionParser() + parse = argparse.ArgumentParser() parse.add_argument('-m', '--man', help='Display the man page', \ dest='man', default=False, action='store_true') parse.add_argument('-t', '--test', help='Test Argument', dest='test')