diff makeitso/python_package/{{package}}/{{main}}.py @ 198:be7e2e336d7a

STUB: makeitso/python_package/{{package}}/{{main}}.py
author Jeff Hammel <k0scist@gmail.com>
date Tue, 10 Jun 2014 12:43:45 -0700
parents bb57bec165b7
children 0a991b8fe839
line wrap: on
line diff
--- a/makeitso/python_package/{{package}}/{{main}}.py	Mon Jun 09 20:25:45 2014 -0700
+++ b/makeitso/python_package/{{package}}/{{main}}.py	Tue Jun 10 12:43:45 2014 -0700
@@ -27,8 +27,9 @@
 
 class Parser(argparse.ArgumentParser):
     """CLI option parser"""
-    def __init__(self):
-        argparse.ArgumentParser.__init__(self, description=__doc__)
+    def __init__(self, **kwargs):
+        kwargs.setdefault('description', __doc__)
+        argparse.ArgumentParser.__init__(self, **kwargs)
         self.options = None
 
     def parse_args(self, *args, **kw):