From: Tomohiro Kusumi Date: Tue, 3 Jan 2017 14:40:08 +0000 (+0900) Subject: Fix canonical name for runtime/timeout option X-Git-Tag: fio-2.17~31 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=baa9fe6b90e60a021f19e64b8805268822364ed6;p=fio.git Fix canonical name for runtime/timeout option .name should be set to "runtime" than "timeout". fio_options[] as well as the existing documentation consider "runtime" as an option name, and "timeout" as an alias. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index d12b75d5..98899498 100644 --- a/init.c +++ b/init.c @@ -94,7 +94,7 @@ static struct option l_opts[FIO_NR_OPTIONS] = { .val = 'o' | FIO_CLIENT_FLAG, }, { - .name = (char *) "timeout", + .name = (char *) "runtime", .has_arg = required_argument, .val = 't' | FIO_CLIENT_FLAG, }, @@ -1984,6 +1984,11 @@ static void show_debug_categories(void) #endif } +/* + * Following options aren't printed by usage(). + * --append-terse - Equivalent to --output-format=terse, see f6a7df53. + * --latency-log - Deprecated option. + */ static void usage(const char *name) { printf("%s\n", fio_version_string);