Print an error message if the filter config file contains invalid options.
authorAndre Noll <maan@systemlinux.org>
Sat, 25 Jul 2009 16:29:06 +0000 (18:29 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 25 Jul 2009 16:29:06 +0000 (18:29 +0200)
filter.c

index cc27017..8814191 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -142,7 +142,8 @@ static int parse_config(int argc, char *argv[])
                        .override = 0,
                        .initialize = 0,
                        .check_required = 0,
-                       .check_ambiguity = 0
+                       .check_ambiguity = 0,
+                       .print_errors = 1
                };
                if (filter_cmdline_parser_config_file(cf, &conf, &params))
                        return -E_FILTER_SYNTAX;