Add support for giving bw/clat/slat log prefixes
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 8a2e6f215f0ba1f3df53abb2e3e9774a7180af17..44c02f60eb1488dba372ea34683bb4a3bba54e70 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -236,7 +236,7 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data,
        dprint(FD_PARSE, "__handle_option=%s, type=%d, ptr=%s\n", o->name,
                                                        o->type, ptr);
 
-       if (!ptr && o->type != FIO_OPT_STR_SET) {
+       if (!ptr && o->type != FIO_OPT_STR_SET && o->type != FIO_OPT_STR) {
                fprintf(stderr, "Option %s requires an argument\n", o->name);
                return 1;
        }