t/io_uring: fix help defaults for aio and random_io
authorVincent Fu <vincent.fu@samsung.com>
Thu, 23 Dec 2021 21:08:09 +0000 (16:08 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 23 Dec 2021 23:19:55 +0000 (18:19 -0500)
The positions of the default values for aio and random_io were swapped
in the help message. Put the default values in their proper positions.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/io_uring.c

index 755796dd2cdcf74a89609157f44c04ba7465d722..e8365a79d2f024bf409b90d3e0e2a4f8cc4ac514 100644 (file)
@@ -1095,7 +1095,7 @@ static void usage(char *argv, int status)
                " -a <bool> : Use legacy aio, default %d\n",
                argv, DEPTH, BATCH_SUBMIT, BATCH_COMPLETE, BS, polled,
                fixedbufs, dma_map, register_files, nthreads, !buffered, do_nop,
-               stats, runtime == 0 ? "unlimited" : runtime_str, aio, random_io);
+               stats, runtime == 0 ? "unlimited" : runtime_str, random_io, aio);
        exit(status);
 }