From e83760cba6aba516c3de4bb4ef4df9fa4020ccfa Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 27 Mar 2008 11:15:15 +0100 Subject: [PATCH] Print config errors. Dooh. This broke in 9c4bc98761828cbe3997e071ad5b4d24eb52e599. --- dss.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */ -- 2.39.5