kconfig: add long options --help and --silent

They are long options for -h and -s, respectively.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
pull/672/merge
Masahiro Yamada 2021-03-14 04:48:26 +09:00
parent ed562c5310
commit bafc479132
1 changed files with 2 additions and 0 deletions

View 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},