diff --git a/src/redis-cli.c b/src/redis-cli.c index 85ca404f..d25b7feb 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1344,7 +1344,9 @@ static void repl(void) { } elapsed = mstime()-start_time; - if (elapsed >= 500) { + if (elapsed >= 500 && + config.output == OUTPUT_STANDARD) + { printf("(%.2fs)\n",(double)elapsed/1000); } }