]> mj.ucw.cz Git - libucw.git/commitdiff
more intuitive parameter in configuration reader
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Thu, 11 May 2006 11:29:48 +0000 (13:29 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Thu, 11 May 2006 11:29:48 +0000 (13:29 +0200)
lib/shell/config.c

index 6efb6201437efaea2702ba9331b2394a0b80de20..a3eedec435eca86dbd2cfb92cd4bb851978d297f 100644 (file)
@@ -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;