Don't output version for terse output
authorJens Axboe <axboe@kernel.dk>
Thu, 13 Oct 2011 11:37:07 +0000 (13:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Oct 2011 11:37:07 +0000 (13:37 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c

diff --git a/init.c b/init.c
index 485efc9..5bea948 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1525,6 +1525,8 @@ int parse_options(int argc, char *argv[])
                fio_gtod_cpu = def_thread.o.gtod_cpu;
        }
 
-       log_info("fio %s\n", fio_version_string);
+       if (!terse_output)
+               log_info("fio %s\n", fio_version_string);
+
        return 0;
 }