From 3afba66ca57bade29bbe8cf343ac80fc1e40670c Mon Sep 17 00:00:00 2001 From: Felipe Franciosi Date: Fri, 6 Aug 2021 15:30:31 +0100 Subject: [PATCH] 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 Change-Id: I023d571fc3b165653257688fdbd7b1eeafd420e4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9116 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Tomasz Zawadzki Reviewed-by: Aleksey Marchuk Reviewed-by: Paul Luse Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins --- examples/nvme/perf/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nvme/perf/perf.c b/examples/nvme/perf/perf.c index 31d293088a..e3b9e650f4 100644 --- a/examples/nvme/perf/perf.c +++ b/examples/nvme/perf/perf.c @@ -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; }