From b3e3672e846e2af7ddf26d2137ed2dbad652b977 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 11 May 2006 13:29:48 +0200 Subject: [PATCH] more intuitive parameter in configuration reader --- lib/shell/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shell/config.c b/lib/shell/config.c index 6efb6201..a3eedec4 100644 --- a/lib/shell/config.c +++ b/lib/shell/config.c @@ -50,7 +50,7 @@ Types:\n\ $\t\tFloating point number\n\ \n\ Modifiers:\n\ -*\t\tReport unknown items as errors\n\ +!\t\tReport unknown items as errors\n\ -\t\tDo not dump item's value\n\ ", stderr); exit(1); @@ -200,7 +200,7 @@ parse_outer(void) parse_char(','); parse_white(); struct section *sec = mp_alloc_zero(pool, sizeof(*sec)); - if (*pos == '*') + if (*pos == '!') { pos++; sec->item.flags |= FLAG_NO_UNKNOWN; -- 2.39.5