android_kernel_samsung_univ.../scripts/kconfig
Andres Salomon 2f4b489b77 kconfig: use getopt() in conf.c for handling command line arguments
Switch from doing our own parsing of command line arguments to
using getopt(3) to do it.  Aside from simplifying things, this allows us to
specify multiple arguments; the old code could only accept two arguments
(input_mode and kconfig name).

Note some subtle changes:
 - The argument '-?' is no longer supported.
 - '-h' is not treated as an error, so output goes to stdout, and we
   exit with '0'.
 - There is no compatibility checking amongst arguments; the last option
   will simply override earlier options.  For example, 'conf -n -y foo'
   is perfectly valid now (input_mode will be set_yes).  Previously, that
   would have been an error ("can't find file -y").

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
2008-01-28 23:14:36 +01:00
..
lxdialog kconfig: if ncurses-devel is missing then say so 2008-01-28 23:14:36 +01:00
.gitignore
check.sh
conf.c kconfig: use getopt() in conf.c for handling command line arguments 2008-01-28 23:14:36 +01:00
confdata.c x86: simplify "make ARCH=x86" and fix kconfig all.config 2007-11-17 08:35:43 -08:00
expr.c
expr.h
gconf.c
gconf.glade
images.c
kconfig_load.c
kxgettext.c
lex.zconf.c_shipped
lkc_proto.h x86: simplify "make ARCH=x86" and fix kconfig all.config 2007-11-17 08:35:43 -08:00
lkc.h
Makefile kconfig: if ncurses-devel is missing then say so 2008-01-28 23:14:36 +01:00
mconf.c
menu.c Revert "kconfig: tristate choices with mixed tristate and boolean values" 2007-10-19 21:25:45 -07:00
POTFILES.in
qconf.cc kconfig: set title bar in xconfig 2007-10-20 20:16:50 +02:00
qconf.h
symbol.c
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.tab.c_shipped
zconf.y