Fix mismatching help query in OOC mode. Resolve #1914.
This commit is contained in:
parent
6b2c2ee6e3
commit
607004f2eb
1 changed files with 2 additions and 1 deletions
|
|
@ -267,7 +267,8 @@ class CmdHelp(Command):
|
||||||
return
|
return
|
||||||
|
|
||||||
# no exact matches found. Just give suggestions.
|
# 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):
|
def _loadhelp(caller):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue