From 181f16e7dc0932027932fee830c5d77876ef53db Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 26 Aug 2002 14:41:54 +0000 Subject: [PATCH] The shell config helper now knows how to parse multiple-valued entries and stores them as shell arrays. Even normal entries are now output as they are seen for the first time, leaving all the overriding on the shell. --- lib/shell/config.c | 55 ++++++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/lib/shell/config.c b/lib/shell/config.c index ac9cd532..5ff0c30d 100644 --- a/lib/shell/config.c +++ b/lib/shell/config.c @@ -22,18 +22,37 @@ #include #include +static struct cfitem *items; +static byte *flags; + static void help(void) { - die("Usage: config [-C] [-S
.