diff --git a/modules/commands.py b/modules/commands.py index c3173486..b5ac3176 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -260,6 +260,7 @@ class Module(ModuleManager.BaseModule): def _get_help(self, hook): return hook.get_kwarg("help", None) or hook.docstring.description def _get_usage(self, hook, command, command_prefix=""): + command = "%s%s" % (command_prefix, command) usage = hook.get_kwarg("usage", None) if usage: usages = [usage]