Commit 7669259c 7669259c84f2f2255c0a423f779faa4b35737d58 by Sergey Poznyakoff

Bugfix.

* libargp/muinit.c (mu_app_init): Do not parse configs if
--config-help was given.
1 parent 8a6fdf20
2008-11-11 Sergey Poznyakoff <gray@gnu.org.ua>
* libargp/muinit.c (mu_app_init): Do not parse configs if
--config-help was given.
2008-11-09 Wojciech Polak <polak@gnu.org>
Fix typos.
......
......@@ -84,7 +84,6 @@ mu_app_init (struct argp *myargp, const char **capa,
mu_libcfg_init (excapa);
free (excapa);
mu_parse_config_files (cfg_param, data);
if (mu_help_config_mode)
{
......@@ -115,6 +114,8 @@ mu_app_init (struct argp *myargp, const char **capa,
mu_stream_destroy (&stream, NULL);
exit (0);
}
else
mu_parse_config_files (cfg_param, data);
if (mu_cfg_parser_verbose)
cfgflags |= MU_PARSE_CONFIG_VERBOSE;
......