aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-05 15:01:34 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-05 15:01:34 +0000
commit13a3b507f25f6a2eb92a89161612246f73e795e6 (patch)
tree03b3c609f4a248cc3720292cffc6b0b64350f624 /src/main.c
parentc4a9e3790f489ac70af60fe8cd1c16230979bc76 (diff)
downloadmpd-13a3b507f25f6a2eb92a89161612246f73e795e6.tar.gz
mpd-13a3b507f25f6a2eb92a89161612246f73e795e6.tar.xz
mpd-13a3b507f25f6a2eb92a89161612246f73e795e6.zip
clarify error for --no-create-db
git-svn-id: https://svn.musicpd.org/mpd/trunk@912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 50ee429bc..7c0a6dbe4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -334,6 +334,8 @@ int main(int argc, char * argv[]) {
if(options.createDB<0) {
ERROR("can't open db file and using \"--no-create-db\""
" command line option\n");
+ ERROR("try running \"%s --only-create-db\"\n",
+ argv[0]);
exit(EXIT_FAILURE);
}
initMp3Directory();