Slightly changed text on not-found command.

This commit is contained in:
Griatch 2012-04-22 22:58:23 +02:00
parent 3fba0bdbe3
commit c688865e10

View file

@ -195,7 +195,7 @@ def cmdhandler(caller, raw_string, testing=False):
sysarg = "Command '%s' is not available." % raw_string
suggestions = string_suggestions(raw_string, cmdset.get_all_cmd_keys_and_aliases(caller), cutoff=0.7, maxnum=3)
if suggestions:
sysarg += " Did you maybe mean %s?" % utils.list_to_string(suggestions, 'or', addquote=True)
sysarg += " Maybe you meant %s?" % utils.list_to_string(suggestions, 'or', addquote=True)
else:
sysarg += " Type \"help\" for help."
raise ExecSystemCommand(syscmd, sysarg)