summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMota <motablow@gmail.com>2017-01-28 11:20:23 +0800
committerMota <motablow@gmail.com>2017-07-25 23:43:46 +0800
commit81fe7a4733ff6c1f7fbfaeb190c963d2d2826280 (patch)
tree28f32e4b9993557365da53d7373cd3f5912729cc
parentdc997755bf8c2d69899957a8ab6dc41aed0c7ddb (diff)
downloadredis-81fe7a4733ff6c1f7fbfaeb190c963d2d2826280.tar.gz
redis-benchmark: default value size usage update.
default size of SET/GET value in usage should be 3 bytes as in main code.
-rw-r--r--src/redis-benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c
index dec8ecb52..928ec31e0 100644
--- a/src/redis-benchmark.c
+++ b/src/redis-benchmark.c
@@ -572,8 +572,8 @@ usage:
" -a <password> Password for Redis Auth\n"
" -c <clients> Number of parallel connections (default 50)\n"
" -n <requests> Total number of requests (default 100000)\n"
-" -d <size> Data size of SET/GET value in bytes (default 2)\n"
-" --dbnum <db> SELECT the specified db number (default 0)\n"
+" -d <size> Data size of SET/GET value in bytes (default 3)\n"
+" --dbnum <db> SELECT the specified db number (default 0)\n"
" -k <boolean> 1=keep alive 0=reconnect (default 1)\n"
" -r <keyspacelen> Use random keys for SET/GET/INCR, random values for SADD\n"
" Using this option the benchmark will expand the string __rand_int__\n"