perf: Fix help message on --io-pattern usage

The --io-pattern option can be specified by the -w short opt. However,
the help message suggested that -o should be used. This fixes it.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Change-Id: I023d571fc3b165653257688fdbd7b1eeafd420e4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9116
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Felipe Franciosi 2021-08-06 15:30:31 +01:00 committed by Tomasz Zawadzki
parent 29907b7240
commit 3afba66ca5

View File

@ -2518,7 +2518,7 @@ parse_args(int argc, char **argv, struct spdk_env_opts *env_opts)
}
} else {
fprintf(stderr,
"-o (--io-pattern) io pattern type must be one of\n"
"-w (--io-pattern) io pattern type must be one of\n"
"(read, write, randread, randwrite, rw, randrw)\n");
return 1;
}