summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2015-09-20 21:01:44 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2015-09-20 21:01:44 -0700
commitc7af4fe271d1d2134a88d63ec914ee9c10c1dce1 (patch)
tree33650dfea25dbc608deb166b37f2d827f05e39cd
parentff4971fda48d765a12437b3eb6611994eb067a7a (diff)
parent25f80dd4ad81aba3e1f3dea4cd0c43a72a2c5bdb (diff)
Merge remote-tracking branch 'mbr0wn/modtool/py_hint' into maint
-rw-r--r--gr-utils/python/modtool/modtool_makexml.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/modtool_makexml.py b/gr-utils/python/modtool/modtool_makexml.py
index 82dc9d94d4..575d7eb873 100644
--- a/gr-utils/python/modtool/modtool_makexml.py
+++ b/gr-utils/python/modtool/modtool_makexml.py
@@ -39,6 +39,15 @@ class ModToolMakeXML(ModTool):
def __init__(self):
ModTool.__init__(self)
+ def setup_parser(self):
+ """ Initialise the option parser for 'gr_modtool makexml' """
+ parser = ModTool.setup_parser(self)
+ parser.usage = """%prog info [options]. \n Call %prog without any options to run it interactively.
+
+ Note: This does not work on Python blocks!
+ """
+ return parser
+
def setup(self, options, args):
ModTool.setup(self, options, args)