]> git.tue.mpg.de Git - dss.git/commitdiff
Print config errors.
authorAndre Noll <maan@congo.fml.local>
Thu, 27 Mar 2008 10:15:15 +0000 (11:15 +0100)
committerAndre Noll <maan@congo.fml.local>
Thu, 27 Mar 2008 10:15:15 +0000 (11:15 +0100)
Dooh. This broke in 9c4bc98761828cbe3997e071ad5b4d24eb52e599.

dss.c

diff --git a/dss.c b/dss.c
index ef42e39cf0923a141eb1d9b3f4f07a1f1a252089..02d0c8bd5d9e1cc5ef3c5051088a8c99bbe60021 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -603,7 +603,8 @@ static void parse_config_file(int override)
                        .override = override,
                        .initialize = 0,
                        .check_required = 1,
-                       .check_ambiguity = 0
+                       .check_ambiguity = 0,
+                       .print_errors = 1
                };
                cmdline_parser_config_file(config_file, &conf, &params);
        }
@@ -955,7 +956,8 @@ int main(int argc, char **argv)
                .override = 0,
                .initialize = 1,
                .check_required = 0,
-               .check_ambiguity = 0
+               .check_ambiguity = 0,
+               .print_errors = 1
        };
 
        cmdline_parser_ext(argc, argv, &conf, &params); /* aborts on errors */