return 0;
}
-int run_command(const char *line, int interactive)
+int run_command(const char *line, int batch)
{
const char *cmd = line + strspn(line, " \t");
const char *arg = cmd + strcspn(cmd, " \t");
c = in_word_set(cmd, arg-cmd);
if (!c) {
print_error(_("unknown command %.*s"), (int)(arg-cmd), cmd);
- if (interactive) {
+ if (!batch) {
fprintf(stderr, "%s\n",
_("Try \"help\" for a list of possible commands."));
}