Volshell: improve help function if arguments are used.

This commit is contained in:
Mike Auty
2019-09-23 23:59:54 +01:00
parent b25094035d
commit 6a43cd4593
+5 -1
View File
@@ -75,8 +75,12 @@ class Volshell(interfaces.plugins.PluginInterface, interfaces.plugins.FileConsum
return renderers.TreeGrid([("Terminating", str)], None)
def help(self):
def help(self, *args):
"""Describes the available commands"""
if args:
help(*args)
return
variables = []
print("\nMethods:")
for aliases, item in self.construct_locals():