From: Andre Noll Date: Thu, 27 Mar 2008 10:15:15 +0000 (+0100) Subject: Print config errors. X-Git-Tag: v0.0.5~8 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=e83760cba6aba516c3de4bb4ef4df9fa4020ccfa;p=dss.git Print config errors. Dooh. This broke in 9c4bc98761828cbe3997e071ad5b4d24eb52e599. --- diff --git a/dss.c b/dss.c index ef42e39..02d0c8b 100644 --- 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, ¶ms); } @@ -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, ¶ms); /* aborts on errors */