aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1d4588418..bb3740b62 100644
--- a/main.c
+++ b/main.c
@@ -75,6 +75,9 @@ main(int argc, const char *argv[])
/* initialize options */
options = options_init();
+
+ /* parse command line options - 1 pass get configuration files */
+ options_parse(argc, argv);
/* read configuration */
read_configuration(options);
@@ -86,7 +89,7 @@ main(int argc, const char *argv[])
exit(EXIT_FAILURE);
}
- /* parse command line options */
+ /* parse command line options - 2 pass */
options_parse(argc, argv);
/* initialize local charset */