aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2008-12-27 20:03:38 +0100
committerMax Kellermann <max@duempel.org>2008-12-27 20:16:32 +0100
commitb2fc0ee27415fc76be8fa166bbada4b8b8b024ad (patch)
treeee697bae13c753c0bb746bbbc5bf1b62ed9de502 /src/cmdline.c
parent166d326950c09a4dbc9ef521158a664413ac2807 (diff)
downloadmpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.tar.gz
mpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.tar.xz
mpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.zip
cmdline: fixed option_no_createdb usage
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)