diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2008-12-27 20:03:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-27 20:16:32 +0100 |
commit | b2fc0ee27415fc76be8fa166bbada4b8b8b024ad (patch) | |
tree | ee697bae13c753c0bb746bbbc5bf1b62ed9de502 | |
parent | 166d326950c09a4dbc9ef521158a664413ac2807 (diff) | |
download | mpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.tar.gz mpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.tar.xz mpd-b2fc0ee27415fc76be8fa166bbada4b8b8b024ad.zip |
cmdline: fixed option_no_createdb usage
-rw-r--r-- | src/cmdline.c | 2 |
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) |