From 6cb4ad9d0b46a6926a3ec68db192a869325d4583 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 18 Jan 2011 21:23:50 +0100 Subject: [PATCH] gui: Don't fail silently on config file errors. We need to set ->print_errors non-zero in order to get the error message from gengetopt. --- gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui.c b/gui.c index 5ac1333b..fe580864 100644 --- a/gui.c +++ b/gui.c @@ -1407,7 +1407,8 @@ int main(int argc, char *argv[]) .override = 0, .initialize = 0, .check_required = 0, - .check_ambiguity = 0 + .check_ambiguity = 0, + .print_errors = 1, }; gui_cmdline_parser_config_file(cf, &conf, ¶ms); } -- 2.39.5