summaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/args.c b/src/args.c
index 9986886..52496cd 100644
--- a/src/args.c
+++ b/src/args.c
@@ -505,6 +505,9 @@ int parse_args(int argc, char **argv)
case 'D':
datadir = optarg;
break;
+ case 'c':
+ cfile = optarg;
+ break;
}
}
io_init(cfile, datadir, confdir);
@@ -522,8 +525,6 @@ int parse_args(int argc, char **argv)
query = 1;
break;
case 'c':
- cfile = optarg;
- io_init(cfile, datadir, confdir);
break;
case 'C':
break;