Merge pull request #2940 from InspectorCaracal/InspectorCaracal-patch-1

Fix formatting on command suggestions
This commit is contained in:
Griatch 2022-10-19 22:36:02 +02:00 committed by GitHub
commit 9d8ab1fbbc

View file

@ -748,7 +748,7 @@ def cmdhandler(
)
if suggestions:
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:
sysarg += _(' Type "help" for help.')