[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/03: modtool: Add hint regarding python b
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/03: modtool: Add hint regarding python blocks + makexml |
Date: |
Mon, 21 Sep 2015 04:44:35 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 25f80dd4ad81aba3e1f3dea4cd0c43a72a2c5bdb
Author: Martin Braun <address@hidden>
Date: Tue Sep 15 18:39:23 2015 -0700
modtool: Add hint regarding python blocks + makexml
---
gr-utils/python/modtool/modtool_makexml.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gr-utils/python/modtool/modtool_makexml.py
b/gr-utils/python/modtool/modtool_makexml.py
index 82dc9d9..575d7eb 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)