From baa9fe6b90e60a021f19e64b8805268822364ed6 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Tue, 3 Jan 2017 23:40:08 +0900 Subject: [PATCH] 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 --- init.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); -- 2.25.1