aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-19log: added log_early_init() for early debug messagesMax Kellermann1-0/+5
2009-01-17conf: no CamelCase, part IMax Kellermann1-4/+4
Renamed functions, types, variables.
2009-01-14allow ~/.mpd/mpd.conf as alternate config fileJérôme Quelin1-8/+15
mpd uses some additional files to work, such as pid_file, state_file, db_file, etc. when running mpd as non-root user, it is often that those files end in ~/.mpd in that case, we end up with 2 entries in a user's home, .mpdconf and .mpd - which clutters homedirs. this patch allows ~/.mpd/mpd.conf as an alternative to ~/.mpdconf, allowing for a cleaner homedir
2009-01-04don't exit after --create-dbMax Kellermann1-1/+1
Start the daemon after --create-db. This makes --create-db a flag which discards the old database and starts with a fresh one.
2009-01-01cmdline: exit after --versionMax Kellermann1-0/+3
Don't start the daemon when MPD is called with "--version".
2008-12-30print supported decoders in --versionViliam Mateicka1-0/+4
2008-12-29removed os_compat.hMax Kellermann1-0/+1
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
2008-12-28log: deprecated "error_file" optionMax Kellermann1-1/+1
Removed the "error_file" option. There is only one log file now. If a user wants to see only the errors, he should configure a log_level.
2008-12-27cmdline: fixed option_no_createdb usageViliam Mateicka1-1/+1
2008-12-27cmdline: use g_build_filename() for ~/.mpdconfMax Kellermann1-20/+10
Build the path with g_build_filename(). Also use g_get_home_dir() and g_file_test().
2008-12-27cmdline: use GLib's option parserMax Kellermann1-84/+75
Eliminate duplicated code. The GLib code is much more mature than MPD's custom parser.
2008-12-27cmdline: use gboolean instead of intMax Kellermann1-11/+9
Prepare for the migration to the GLib option parser, which uses gboolean for flags.
2008-12-27moved command line parser to cmdline.cMax Kellermann1-0/+165