From: Jens Axboe Date: Thu, 15 Mar 2007 13:11:38 +0000 (+0100) Subject: Show alias in command help X-Git-Tag: fio-1.15~84 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d2bb7fea83d27baaa26fe99d8d1652e3496af70a;hp=467d1b6b3ebbfcb7cc0545a882ba8a93ea66752b Show alias in command help Signed-off-by: Jens Axboe --- diff --git a/parse.c b/parse.c index a0242c27..f503916d 100644 --- 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);