Add/correct missing command line options in help text
authorJens Axboe <jens.axboe@oracle.com>
Mon, 18 Feb 2008 19:15:03 +0000 (20:15 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 18 Feb 2008 19:15:03 +0000 (20:15 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
README
init.c

diff --git a/README b/README
index 940839c3892a354da5332b1234dca4d914e1b473..e933bd55ef356a4eadebfc7bd1a9345ee094fd95 100644 (file)
--- a/README
+++ b/README
@@ -64,7 +64,7 @@ Command line
 $ fio
         --debug         Enable some debugging options (see below)
         --output        Write output to file
-        --runtime       Runtime in seconds
+        --timeout       Runtime in seconds
         --latency-log   Generate per-job latency logs
         --bandwidth-log Generate per-job bandwidth logs
         --minimal       Minimal (terse) output
@@ -72,7 +72,7 @@ $ fio
        --help          Print this page
        --cmdhelp=cmd   Print command help, "all" for all of them
        --showcmd       Turn a job file into command line options
-       --readonly      Turn on safety read-only checks
+       --readonly      Turn on safety read-only checks, preventing writes
        --eta=when      When ETA estimate should be printed
                        May be "always", "never" or "auto"
 
diff --git a/init.c b/init.c
index 1d3ee40b29ea2376027b8485bc49d229dd0befd3..f5dff5059dabd76b6477a2a074de1ec42a79a3dc 100644 (file)
--- a/init.c
+++ b/init.c
@@ -774,6 +774,7 @@ static void usage(const char *name)
        printf("\t--showcmd\tTurn a job file into command line options\n");
        printf("\t--eta=when\tWhen ETA estimate should be printed\n");
        printf("\t          \tMay be \"always\", \"never\" or \"auto\"\n");
+       printf("\t--readonly\tTurn on safety read-only checks, preventing writes\n");
 }
 
 #ifdef FIO_INC_DEBUG