patch nomatch suggestions

This commit is contained in:
InspectorCaracal 2022-10-14 11:35:04 -06:00 committed by GitHub
parent 0f70f51724
commit 14a12b7bf3

View file

@ -748,7 +748,7 @@ def cmdhandler(
) )
if suggestions: if suggestions:
sysarg += _(" Maybe you meant {command}?").format( sysarg += _(" Maybe you meant {command}?").format(
command=utils.list_to_string(suggestions, _("or"), addquote=True) command=utils.list_to_string(suggestions, endsep=_("or"), addquote=True)
) )
else: else:
sysarg += _(' Type "help" for help.') sysarg += _(' Type "help" for help.')