@@ -563,7 +563,7 @@ static int config_parse_args(int argc, char *argv[], struct benchmark_config *cf
563
563
}
564
564
565
565
void usage () {
566
- fprintf (stderr , " Usage: memtier_benchmark [options]\n "
566
+ fprintf (stdout , " Usage: memtier_benchmark [options]\n "
567
567
" A memcache/redis NoSQL traffic generator and performance benchmarking tool.\n "
568
568
" \n "
569
569
" Connection and General Options:\n "
@@ -579,6 +579,8 @@ void usage() {
579
579
" --out-file=FILE Name of output file (default: stdout)\n "
580
580
" --show-config Print detailed configuration before running\n "
581
581
" --hide-histogram Don't print detailed latency histogram\n "
582
+ " --help Display this help\n "
583
+ " --version Display version information\n "
582
584
" \n "
583
585
" Test Options:\n "
584
586
" -n, --requests=NUMBER Number of total requests per client (default: 10000)\n "
@@ -594,7 +596,7 @@ void usage() {
594
596
" on the protocol can be PASSWORD or USER:PASSWORD.\n "
595
597
" --select-db=DB DB number to select, when testing a redis server\n "
596
598
" --distinct-client-seed Use a different random seed for each client\n "
597
- " --randomize random seed based on timestamp (defalut is constant value)\n "
599
+ " --randomize random seed based on timestamp (default is constant value)\n "
598
600
" \n "
599
601
" Object Options:\n "
600
602
" -d --data-size=SIZE Object data size (default: 32)\n "
@@ -629,8 +631,6 @@ void usage() {
629
631
" (default is key range / 6)\n "
630
632
" --key-median The median point used in the Gaussian distribution\n "
631
633
" (default is the center of the key range)\n "
632
- " --help Display this help\n "
633
- " --version Display version information\n "
634
634
" \n "
635
635
);
636
636
0 commit comments