projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d250704
)
parse: if profile is set, only show options relevant to the profile
author
Jens Axboe
<axboe@kernel.dk>
Thu, 23 May 2013 19:14:03 +0000
(21:14 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 23 May 2013 19:14:03 +0000
(21:14 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.c
patch
|
blob
|
blame
|
history
diff --git
a/parse.c
b/parse.c
index b8ec3aa86a4262849726ba3f3a5e4591b61c990c..f54dae625bbbb59387f035cdb08f9fe1768675e1 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-1086,6
+1086,8
@@
int show_cmd_help(struct fio_option *options, const char *name)
continue;
if (!exec_profile && o->prof_name)
continue;
+ if (exec_profile && !(o->prof_name && !strcmp(exec_profile, o->prof_name)))
+ continue;
if (name) {
if (!strcmp(name, o->name) ||