From b2fc0ee27415fc76be8fa166bbada4b8b8b024ad Mon Sep 17 00:00:00 2001 From: Viliam Mateicka Date: Sat, 27 Dec 2008 20:03:38 +0100 Subject: cmdline: fixed option_no_createdb usage --- src/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3