From f97c1f02fd02738d8d2b0ba4db13e063eef81c96 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 29 Jan 2019 08:33:32 +0000 Subject: Actually show the command prefix we now pass to _get_usage (commands.py) --- modules/commands.py | 1 + 1 file changed, 1 insertion(+) 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] -- cgit v1.3.1-10-gc9f91