add space between command and usage string

This commit is contained in:
jesopo 2020-03-06 07:25:38 +00:00
parent 1654fafd7e
commit 69be51e502

View file

@ -142,7 +142,7 @@ class Module(ModuleManager.BaseModule):
usages = [ usages = [
utils.parse.argument_spec_human(s, context) for s in specs] utils.parse.argument_spec_human(s, context) for s in specs]
command = "%s%s" % (event["command_prefix"], event["command"]) 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)) error_out = "%s (Usage: %s)" % (overall_error, " | ".join(usages))