소스 검색

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

Serj Kalichev 7 달 전
부모
커밋
d8c436fa9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 	}