Commit bafc4791 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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



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

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent ed562c53
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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},