Browse Source

Don't show command by default in non-interactive mode

Serj Kalichev 6 months ago
parent
commit
d8c436fa9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/klish/klish.c

+ 1 - 1
bin/klish/klish.c

@@ -310,7 +310,7 @@ static bool_t send_next_command(ctx_t *ctx)
 		return BOOL_TRUE;
 	}
 
-	if (!ctx->opts->quiet) {
+	if (ctx->opts->verbose) {
 		const char *prompt = tinyrl_prompt(ctx->tinyrl);
 		printf("%s%s\n", prompt ? prompt : "", line);
 	}