Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmdline: use g_build_filename() for ~/.mpdconf | Max Kellermann | 2008-12-27 | 1 | -20/+10 |
| | | | | | Build the path with g_build_filename(). Also use g_get_home_dir() and g_file_test(). | ||||
* | cmdline: use GLib's option parser | Max Kellermann | 2008-12-27 | 1 | -84/+75 |
| | | | | | Eliminate duplicated code. The GLib code is much more mature than MPD's custom parser. | ||||
* | cmdline: use gboolean instead of int | Max Kellermann | 2008-12-27 | 1 | -11/+9 |
| | | | | | Prepare for the migration to the GLib option parser, which uses gboolean for flags. | ||||
* | moved command line parser to cmdline.c | Max Kellermann | 2008-12-27 | 1 | -0/+165 |