From ec1aee01a92f2e390d7ca14d26eebf6453780c53 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Feb 2007 13:18:47 +0100 Subject: [PATCH] Extend option name from 16 to 20 bytes The file_service_type was too long, making the output look badly formatted. Signed-off-by: Jens Axboe --- parse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parse.c b/parse.c index d300a219..0e8cd5ff 100644 --- a/parse.c +++ b/parse.c @@ -16,7 +16,7 @@ static void show_option_range(struct fio_option *o) if (!o->minval && !o->maxval) return; - printf("%16s: min=%d, max=%d\n", "range", o->minval, o->maxval); + printf("%20s: min=%d, max=%d\n", "range", o->minval, o->maxval); } static void show_option_values(struct fio_option *o) @@ -30,7 +30,7 @@ static void show_option_values(struct fio_option *o) break; if (!i) - printf("%16s: ", "valid values"); + printf("%20s: ", "valid values"); printf("%s,", msg); i++; @@ -457,7 +457,7 @@ int show_cmd_help(struct fio_option *options, const char *name) if (show_all || match) { found = 1; - printf("%16s: %s\n", o->name, o->help); + printf("%20s: %s\n", o->name, o->help); if (show_all) continue; } @@ -465,8 +465,8 @@ int show_cmd_help(struct fio_option *options, const char *name) if (!match) continue; - printf("%16s: %s\n", "type", typehelp[o->type]); - printf("%16s: %s\n", "default", o->def ? o->def : "no default"); + printf("%20s: %s\n", "type", typehelp[o->type]); + printf("%20s: %s\n", "default", o->def ? o->def : "no default"); show_option_range(o); show_option_values(o); } -- 2.25.1