projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed562c5
)
kconfig: add long options --help and --silent
author
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:26 +0000
(
04:48
+0900)
committer
Masahiro 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
patch
|
blob
|
history
diff --git
a/scripts/kconfig/conf.c
b/scripts/kconfig/conf.c
index
dc1a67f
..
aac76ac
100644
(file)
--- a/
scripts/kconfig/conf.c
+++ b/
scripts/kconfig/conf.c
@@
-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},