X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/cfcd5d6d433b13319cdc1bf8c91d2e61c43aef2c..26b3366993f566b438049765d65c51db056fcffa:/src/redis-cli.c?ds=inline diff --git a/src/redis-cli.c b/src/redis-cli.c index 4c34dfb1..fec0fce4 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -432,8 +432,9 @@ static void repl() { cliPrintContextErrorAndExit(); } elapsed = mstime()-start_time; - if (elapsed > 500) printf("%.2f seconds\n", - (double)elapsed/1000); + if (elapsed >= 500) { + printf("(%.2fs)\n",(double)elapsed/1000); + } } } /* Free the argument vector */