X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/f2f75f25ecc377fb95877449aa12314ee1385a1f..29304fc079678aea4bd99f814c75a1345bc2df4e:/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."));