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