Add/correct missing command line options in help text
[fio.git] / init.c
diff --git a/init.c b/init.c
index 66b7afe4a88a890092214231975bdd03b81b4332..f5dff5059dabd76b6477a2a074de1ec42a79a3dc 100644 (file)
--- a/init.c
+++ b/init.c
@@ -17,7 +17,7 @@
 #include "fio.h"
 #include "parse.h"
 
-static char fio_version_string[] = "fio 1.17.3";
+static char fio_version_string[] = "fio 1.18.1";
 
 #define FIO_RANDSEED           (0xb1899bedUL)
 
@@ -295,6 +295,10 @@ static int fixup_options(struct thread_data *td)
 
        if (o->fill_device && !o->size)
                o->size = ULONG_LONG_MAX;
+       
+       if (td_rw(td) && td->o.verify != VERIFY_NONE)
+               log_info("fio: mixed read/write workload with verify. May not "
+                "work as expected, unless you pre-populated the file\n");
 
        return 0;
 }
@@ -770,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