diff options
Diffstat (limited to 'gr-utils/python/modtool/modtool_help.py')
-rw-r--r-- | gr-utils/python/modtool/modtool_help.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gr-utils/python/modtool/modtool_help.py b/gr-utils/python/modtool/modtool_help.py index 76d9fd28bd..b894e272e8 100644 --- a/gr-utils/python/modtool/modtool_help.py +++ b/gr-utils/python/modtool/modtool_help.py @@ -26,8 +26,8 @@ from templates import Templates def print_class_descriptions(): - ''' Go through all ModTool* classes and print their name, - alias and description. ''' + """ Go through all ModTool* classes and print their name, + alias and description. """ desclist = [] for gvar in globals().values(): try: @@ -40,14 +40,16 @@ def print_class_descriptions(): for description in desclist: print '%-8s %-12s %s' % description + class ModToolHelp(ModTool): - ''' Show some help. ''' + """ Show some help. """ name = 'help' aliases = ('h', '?') + def __init__(self): ModTool.__init__(self) - def setup(self): + def setup(self, options, args): pass def run(self): |