aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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