aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index f901083d8..fb36a8747 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -114,7 +114,7 @@ void parseOptions(int argc, char **argv, Options *options)
if (option_version)
version();
- if (option_create_db && option_no_daemon)
+ if (option_create_db && option_no_create_db)
g_error("Cannot use both --create-db and --no-create-db\n");
if (option_no_create_db)