From: Martin Mares Date: Mon, 26 Aug 2002 14:41:54 +0000 (+0000) Subject: The shell config helper now knows how to parse multiple-valued entries X-Git-Tag: holmes-import~1355 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=181f16e7dc0932027932fee830c5d77876ef53db;p=libucw.git 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. --- 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
.