From: Andre Noll Date: Tue, 18 Jan 2011 20:23:50 +0000 (+0100) Subject: gui: Don't fail silently on config file errors. X-Git-Tag: v0.4.6~39^2~5 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=6cb4ad9d0b46a6926a3ec68db192a869325d4583;ds=sidebyside 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. --- 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); }