Accept '-' as siint delimter as well.
authorJens Axboe <jens.axboe@oracle.com>
Thu, 15 Mar 2007 08:15:12 +0000 (09:15 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 15 Mar 2007 08:15:12 +0000 (09:15 +0100)
Hope this doesn't break any parsing...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
parse.c

diff --git a/parse.c b/parse.c
index 5c5d2ad..7f16202 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -379,6 +379,8 @@ static int handle_option(struct fio_option *o, const char *ptr, void *data)
                ptr2 = strchr(ptr, ',');
                if (!ptr2)
                        ptr2 = strchr(ptr, ':');
+               if (!ptr2)
+                       ptr2 = strchr(ptr, '-');
        }
 
        /*