Show alias in command help
[fio.git] / parse.c
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);