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 cc270172ba6073c282564a92646531e53eee5f7a..88141918d24e59b6df2cf27ceac4fda9778d1037 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;