[PATCH] Change timeout to runtime and rearrange option entries
[fio.git] / parse.c
diff --git a/parse.c b/parse.c
index 10d2116e9d95442c5d1e34ad3c5729b9ef441cc3..886bde6b0c8b1130050234b40c7d047df602cba4 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++;
        }