aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/command_spec
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-06 07:25:38 +0000
committerGravatar jesopo2020-03-06 07:25:38 +0000
commit69be51e5026c60c9c8a4ca3f899a019730755fa2 (patch)
tree8bfccc6e8a281cd131a22b053fa8eac6307a8c34 /src/core_modules/command_spec
parentdefault inactive_channel.py timer to 4 weeks, not 2 (diff)
signature
add space between command and usage string
Diffstat (limited to 'src/core_modules/command_spec')
-rw-r--r--src/core_modules/command_spec/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/command_spec/__init__.py b/src/core_modules/command_spec/__init__.py
index 34fd5aef..6a4fd3d8 100644
--- a/src/core_modules/command_spec/__init__.py
+++ b/src/core_modules/command_spec/__init__.py
@@ -142,7 +142,7 @@ class Module(ModuleManager.BaseModule):
usages = [
utils.parse.argument_spec_human(s, context) for s in specs]
command = "%s%s" % (event["command_prefix"], event["command"])
- usages = ["%s%s" % (command, u) for u in usages]
+ usages = ["%s %s" % (command, u) for u in usages]
error_out = "%s (Usage: %s)" % (overall_error, " | ".join(usages))