[PATCH] Introduce bool option type
We can automatically flag those with min/max values.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/parse.h b/parse.h
index 3e3c9d9..414f77c 100644
--- a/parse.h
+++ b/parse.h
@@ -12,6 +12,7 @@
FIO_OPT_STR_STORE,
FIO_OPT_RANGE,
FIO_OPT_INT,
+ FIO_OPT_BOOL,
FIO_OPT_STR_SET,
};
@@ -39,6 +40,7 @@
extern int parse_cmd_option(const char *t, const char *l, struct fio_option *, void *);
extern int show_cmd_help(struct fio_option *, const char *);
extern void fill_default_options(void *, struct fio_option *);
+extern void options_init(struct fio_option *);
extern void strip_blank_front(char **);
extern void strip_blank_end(char *);