nvme/perf: rename -m option to -c to match DPDK

Change-Id: I367bb9d3804ae7808a10c6166f0e752b7d6ce87f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2015-11-05 16:38:54 -07:00
parent 668847e150
commit afee86f9f8

View File

@ -479,7 +479,7 @@ static void usage(char *program_name)
printf("\t\t(read, write, randread, randwrite, rw, randrw)]\n");
printf("\t[-M rwmixread (100 for reads, 0 for writes)]\n");
printf("\t[-t time in seconds]\n");
printf("\t[-m core mask for I/O submission/completion.]\n");
printf("\t[-c core mask for I/O submission/completion.]\n");
printf("\t\t(default: 1)]\n");
}
@ -529,9 +529,9 @@ parse_args(int argc, char **argv)
g_rw_percentage = -1;
g_core_mask = NULL;
while ((op = getopt(argc, argv, "m:q:s:t:w:M:")) != -1) {
while ((op = getopt(argc, argv, "c:q:s:t:w:M:")) != -1) {
switch (op) {
case 'm':
case 'c':
g_core_mask = optarg;
break;
case 'q':