summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/modtool_makexml.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-09-15 18:39:23 -0700
committerMartin Braun <martin.braun@ettus.com>2015-09-15 18:39:23 -0700
commit25f80dd4ad81aba3e1f3dea4cd0c43a72a2c5bdb (patch)
treee3693df7b67afdbcc1bfce21e97ea07e84d2660b /gr-utils/python/modtool/modtool_makexml.py
parent2fa36424c30dc81f23a49413543d7205b2f127ff (diff)
modtool: Add hint regarding python blocks + makexml
Diffstat (limited to 'gr-utils/python/modtool/modtool_makexml.py')
-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)