projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
467d1b6
)
Show alias in command help
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 15 Mar 2007 13:11:38 +0000
(14:11 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 15 Mar 2007 13:11:38 +0000
(14:11 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
parse.c
patch
|
blob
|
blame
|
history
diff --git
a/parse.c
b/parse.c
index a0242c2713af32b9faad8aca7e3fcfefb9a6d704..f503916de528852135936fb2435543468ed5b256 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-502,6
+502,9
@@
static void show_option_help(struct fio_option *o)
"no argument (opt)",
};
+ if (o->alias)
+ printf("%20s: %s\n", "alias", o->alias);
+
printf("%20s: %s\n", "type", typehelp[o->type]);
printf("%20s: %s\n", "default", o->def ? o->def : "no default");
show_option_range(o);