stat: Add iops stat and sample number information to terse format
[fio.git] / init.c
diff --git a/init.c b/init.c
index 85b122d26305a96744041b89848a2d3a46623f44..934b9d7c05e9be6c2886e2da63ba88a3313b4e17 100644 (file)
--- a/init.c
+++ b/init.c
@@ -2404,8 +2404,7 @@ int parse_cmd_line(int argc, char *argv[], int client_type)
                        break;
                case 'V':
                        terse_version = atoi(optarg);
-                       if (!(terse_version == 2 || terse_version == 3 ||
-                            terse_version == 4)) {
+                       if (!(terse_version >= 2 && terse_version <= 5)) {
                                log_err("fio: bad terse version format\n");
                                exit_val = 1;
                                do_exit++;