kconfig: add long options --help and --silent
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:26 +0000 (04:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 25 Mar 2021 04:35:03 +0000 (13:35 +0900)
They are long options for -h and -s, respectively.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/conf.c

index dc1a67f..aac76ac 100644 (file)
@@ -474,6 +474,8 @@ static void check_conf(struct menu *menu)
 }
 
 static struct option long_opts[] = {
+       {"help",          no_argument,       NULL,            'h'},
+       {"silent",        no_argument,       NULL,            's'},
        {"oldaskconfig",  no_argument,       &input_mode_opt, oldaskconfig},
        {"oldconfig",     no_argument,       &input_mode_opt, oldconfig},
        {"syncconfig",    no_argument,       &input_mode_opt, syncconfig},