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."));