aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmdline: use g_build_filename() for ~/.mpdconfMax Kellermann2008-12-271-20/+10
| | | | | Build the path with g_build_filename(). Also use g_get_home_dir() and g_file_test().
* cmdline: use GLib's option parserMax Kellermann2008-12-271-84/+75
| | | | | Eliminate duplicated code. The GLib code is much more mature than MPD's custom parser.
* cmdline: use gboolean instead of intMax Kellermann2008-12-271-11/+9
| | | | | Prepare for the migration to the GLib option parser, which uses gboolean for flags.
* moved command line parser to cmdline.cMax Kellermann2008-12-271-0/+165