Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
3a89afdd
Commit
3a89afdd
authored
Nov 20, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove --update-db option
git-svn-id:
https://svn.musicpd.org/mpd/trunk@2719
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
26e943c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.c
src/main.c
+3
-3
No files found.
src/main.c
View file @
3a89afdd
...
...
@@ -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
--
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment