[PATCH] Change timeout to runtime and rearrange option entries
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 10d2116..886bde6 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -132,6 +132,8 @@ static struct fio_option *find_option(struct fio_option *options,
        while (o->name) {
                if (!strcmp(o->name, opt))
                        return o;
+               else if (o->alias && !strcmp(o->alias, opt))
+                       return o;
 
                o++;
        }