Make sure that alias names are also valid on the command line
[fio.git] / init.c
diff --git a/init.c b/init.c
index 9163e475eb6b844fe3ba8d04bfcf61a3a12b7f42..69941b2ea1cd3d426a88d5f1446ef1347862cd51 100644 (file)
--- a/init.c
+++ b/init.c
@@ -21,7 +21,7 @@
 #include "verify.h"
 #include "profile.h"
 
-static char fio_version_string[] = "fio 1.37";
+static char fio_version_string[] = "fio 1.38";
 
 #define FIO_RANDSEED           (0xb1899bedUL)
 
@@ -881,9 +881,6 @@ static int fill_def_thread(void)
        fio_fill_default_options(&def_thread);
 
        def_thread.o.timeout = def_timeout;
-       def_thread.o.write_bw_log = write_bw_log;
-       def_thread.o.write_lat_log = write_lat_log;
-
        return 0;
 }
 
@@ -1076,7 +1073,7 @@ static int parse_cmd_line(int argc, char *argv[])
                case 'l':
                        write_lat_log = 1;
                        break;
-               case 'w':
+               case 'b':
                        write_bw_log = 1;
                        break;
                case 'o':