Fix mismatching help query in OOC mode. Resolve #1914.

This commit is contained in:
Griatch 2019-09-10 19:57:22 +02:00
parent 6b2c2ee6e3
commit 607004f2eb

View file

@ -267,7 +267,8 @@ class CmdHelp(Command):
return
# no exact matches found. Just give suggestions.
self.msg((self.format_help_entry("", "No help entry found for '%s'" % query, None, suggested=suggestions), {"type": "help"}))
self.msg(self.format_help_entry("", f"No help entry found for '{query}'",
None, suggested=suggestions), options={"type": "help"})
def _loadhelp(caller):