projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
options: add ->hide_on_set
[fio.git]
/
goptions.c
diff --git
a/goptions.c
b/goptions.c
index f7ba3038fafe1e7a9007394542f6d75160ed8278..b8ebaf9a3252a72f3764c5904352c398028ac989 100644
(file)
--- a/
goptions.c
+++ b/
goptions.c
@@
-108,6
+108,9
@@
static void gopt_set_children_visible(struct fio_option *parent,
struct fio_option *o;
int i;
+ if (parent->hide_on_set)
+ visible = !visible;
+
/*
* This isn't super fast, but it should not be an issue. If it is, we
* can speed it up by caching the lookup at least. Or we can do it