Add hint on whether to hide a sub option if a parent isn't set
[fio.git] / parse.h
diff --git a/parse.h b/parse.h
index e1b9311cc4bf4b5364ee2c39fb01fd1d53322b6f..36154dd0812109462d84ade05b162c4306e424ad 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -60,6 +60,7 @@ struct fio_option {
        const char *def;                /* default setting */
        struct value_pair posval[PARSE_MAX_VP];/* possible values */
        const char *parent;             /* parent option */
+       int hide;                       /* hide if parent isn't set */
        int (*verify)(struct fio_option *, void *);
        const char *prof_name;          /* only valid for specific profile */
        unsigned int category;          /* for type grouping */