diff options
author | Roman Gushchin <guro@fb.com> | 2021-12-03 18:23:53 -0800 |
---|---|---|
committer | Roman Gushchin <guro@fb.com> | 2021-12-03 18:24:01 -0800 |
commit | 8ba833fa6a40bb4af2cb3f0490084e2b7834e840 (patch) | |
tree | 730e7e21e5cd6dbb1e4691b3d2bb920b8f33bf8f | |
parent | e4aa540e1d709eeccbbb89686571fecca960d127 (diff) | |
download | schbench-8ba833fa6a40bb4af2cb3f0490084e2b7834e840.tar.gz |
schbench: fix long_options[]
Some of the long_options[] elements are incorrect. Fix them.
Signed-off-by: Roman Gushchin <guro@fb.com>
-rw-r--r-- | schbench.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ enum { char *option_string = "p:am:t:s:c:C:r:R:w:i:z:A:j"; static struct option long_options[] = { {"auto", no_argument, 0, 'a'}, - {"jitter", no_argument, 0, 'a'}, + {"jitter", no_argument, 0, 'j'}, {"pipe", required_argument, 0, 'p'}, {"message-threads", required_argument, 0, 'm'}, {"threads", required_argument, 0, 't'}, @@ -99,7 +99,7 @@ static struct option long_options[] = { {"rps", required_argument, 0, 'R'}, {"auto-rps", required_argument, 0, 'A'}, {"sleeptime", required_argument, 0, 's'}, - {"message_cputime", required_argument, 0, 's'}, + {"message_cputime", required_argument, 0, 'C'}, {"cputime", required_argument, 0, 'c'}, {"warmuptime", required_argument, 0, 'w'}, {"intervaltime", required_argument, 0, 'i'}, |