From 675d2d651cce01e8c18cc6fda8bb44e1d9e405bd Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Wed, 27 Jul 2016 22:37:15 +0900 Subject: [PATCH] Add missing --cmdhelp type string for FIO_OPT_UNSUPPORTED MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Without "unsupported" at index 12 (FIO_OPT_UNSUPPORTED) of typehelp[], unsupported commands print irrelevant binary at typehelp[12]. # fio --cmdhelp=numa_cpu_nodes numa_cpu_nodes: Build fio with libnuma-dev(el) to enable this option type: ÏÿF default: no default With this commit. # fio --cmdhelp=numa_cpu_nodes numa_cpu_nodes: Build fio with libnuma-dev(el) to enable this option type: unsupported default: no default Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parse.c b/parse.c index bb16bc16..086f7864 100644 --- a/parse.c +++ b/parse.c @@ -109,6 +109,7 @@ static void show_option_help(struct fio_option *o, int is_err) "list of floating point values separated by ':' (opt=5.9:7.8)", "no argument (opt)", "deprecated", + "unsupported", }; size_t (*logger)(const char *format, ...); -- 2.25.1