From: Andre Noll Date: Sun, 7 Apr 2013 01:05:56 +0000 (+0000) Subject: audioc: Print config file errors. X-Git-Tag: v0.4.13~23^2~16 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=9e56d38942f4d2ec068a0ae81c6dd9349ac8d1c3;p=paraslash.git audioc: Print config file errors. Currently para_audioc fails silently if the config file contains errors. This patch makes it print a proper error message in this case. --- diff --git a/audioc.c b/audioc.c index 74fb11cb..42b4628b 100644 --- a/audioc.c +++ b/audioc.c @@ -294,7 +294,9 @@ int main(int argc, char *argv[]) .override = 0, .initialize = 0, .check_required = 0, - .check_ambiguity = 0 + .check_ambiguity = 0, + .print_errors = 1, + }; ret = audioc_cmdline_parser_config_file(cf, &conf, ¶ms); free(cf);