diff --git a/examples/nvme/perf/perf.c b/examples/nvme/perf/perf.c index f8f4d75e263..945d8d50aa3 100644 --- a/examples/nvme/perf/perf.c +++ b/examples/nvme/perf/perf.c @@ -1337,18 +1337,22 @@ parse_args(int argc, char **argv) } if (!g_queue_depth) { + fprintf(stderr, "missing -q (queue size) operand\n\n"); usage(argv[0]); return 1; } if (!g_io_size_bytes) { + fprintf(stderr, "missing -o (block size) operand\n\n"); usage(argv[0]); return 1; } if (!workload_type) { + fprintf(stderr, "missing -w (io pattern type) operand\n\n"); usage(argv[0]); return 1; } if (!g_time_in_sec) { + fprintf(stderr, "missing -t (test time in second) operand\n\n"); usage(argv[0]); return 1; }