kconfig: add long options --help and --silent
They are long options for -h and -s, respectively. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
ed562c5310
commit
bafc479132
@ -474,6 +474,8 @@ static void check_conf(struct menu *menu)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct option long_opts[] = {
|
static struct option long_opts[] = {
|
||||||
|
{"help", no_argument, NULL, 'h'},
|
||||||
|
{"silent", no_argument, NULL, 's'},
|
||||||
{"oldaskconfig", no_argument, &input_mode_opt, oldaskconfig},
|
{"oldaskconfig", no_argument, &input_mode_opt, oldaskconfig},
|
||||||
{"oldconfig", no_argument, &input_mode_opt, oldconfig},
|
{"oldconfig", no_argument, &input_mode_opt, oldconfig},
|
||||||
{"syncconfig", no_argument, &input_mode_opt, syncconfig},
|
{"syncconfig", no_argument, &input_mode_opt, syncconfig},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user