aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-20 20:28:32 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-20 20:28:32 +0000
commit3a89afdd80f228139554372a83a9d74486acf691 (patch)
treec0e1680b35469fbac19497961c3cd4acd7f6d8e5
parent26e943c02500194c4bb33b7062ca5add5ab0895f (diff)
downloadmpd-3a89afdd80f228139554372a83a9d74486acf691.tar.gz
mpd-3a89afdd80f228139554372a83a9d74486acf691.tar.xz
mpd-3a89afdd80f228139554372a83a9d74486acf691.zip
remove --update-db option
git-svn-id: https://svn.musicpd.org/mpd/trunk@2719 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index d96718bc4..98b29c9fc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -81,7 +81,7 @@ void usage(char * argv[]) {
ERROR(" --no-daemon don't detach from console\n");
ERROR(" --stdout print msgs to stdout and stderr\n");
ERROR(" --create-db force (re)creation database and exit\n");
- ERROR(" --update-db create database and exit\n");
+ /*ERROR(" --update-db create database and exit\n");*/
ERROR(" --no-create-db don't create database\n");
ERROR(" --verbose verbose logging\n");
ERROR(" --version prints version information\n");
@@ -131,11 +131,11 @@ void parseOptions(int argc, char ** argv, Options * options) {
options->createDB = 1;
argcLeft--;
}
- else if(strcmp(argv[i],"--update-db")==0) {
+ /*else if(strcmp(argv[i],"--update-db")==0) {
options->stdOutput = 1;
options->updateDB = 1;
argcLeft--;
- }
+ }*/
else if(strcmp(argv[i],"--no-create-db")==0) {
options->createDB = -1;
argcLeft--;