aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 20:31:23 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 20:31:23 +0100
commite4a53df7db8a8520c552a718ee7671b986312919 (patch)
tree20782438e53e3d9487917ef2695d3c7bcdb7c65f /src/cmdline.c
parent6fb8c5493910097636d2122cb57894375c16901d (diff)
downloadmpd-e4a53df7db8a8520c552a718ee7671b986312919.tar.gz
mpd-e4a53df7db8a8520c552a718ee7671b986312919.tar.xz
mpd-e4a53df7db8a8520c552a718ee7671b986312919.zip
don't exit after --create-db
Start the daemon after --create-db. This makes --create-db a flag which discards the old database and starts with a fresh one.
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 35adb2a8d..48c1e87e6 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -86,7 +86,7 @@ void parseOptions(int argc, char **argv, Options *options)
{ "kill", 0, 0, G_OPTION_ARG_NONE, &options->kill,
"kill the currently running mpd session", NULL },
{ "create-db", 0, 0, G_OPTION_ARG_NONE, &option_create_db,
- "force (re)creation of database and exit", NULL },
+ "force (re)creation of database", NULL },
{ "no-create-db", 0, 0, G_OPTION_ARG_NONE, &option_no_create_db,
"don't create database, even if it doesn't exist", NULL },
{ "no-daemon", 0, 0, G_OPTION_ARG_NONE, &option_no_daemon,