X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/ad973d63e038f293f2b158f19b04c1582e616af0..35684c08a8429cf1c1148c74d2df8cdf4c31bbac:/src/execute.gperf diff --git a/src/execute.gperf b/src/execute.gperf index 5f6740e..b1e7d59 100644 --- a/src/execute.gperf +++ b/src/execute.gperf @@ -94,8 +94,7 @@ int run_command(const char *line, int interactive) c = in_word_set(cmd, arg-cmd); if (!c) { - fprintf(stderr, _("unknown command %.*s\n"), - (int)(arg-cmd), cmd); + print_error(_("unknown command %.*s"), (int)(arg-cmd), cmd); if (interactive) { fprintf(stderr, "%s\n", _("Try \"help\" for a list of possible commands."));