Max Kellermann
|
65f037eb32
|
cmdline: exit after --version
Don't start the daemon when MPD is called with "--version".
|
2009-01-01 18:26:59 +01:00 |
|
Viliam Mateicka
|
4cc0caf1af
|
print supported decoders in --version
|
2008-12-30 14:17:15 +01:00 |
|
Max Kellermann
|
95b3430f52
|
removed os_compat.h
Only include headers which are really needed. os_compat.h aimed to
make MPD easily portable, but was never actually made portable.
|
2008-12-29 17:28:32 +01:00 |
|
Max Kellermann
|
8dc92ad284
|
log: deprecated "error_file" option
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-28 19:48:52 +01:00 |
|
Viliam Mateicka
|
b2fc0ee274
|
cmdline: fixed option_no_createdb usage
|
2008-12-27 20:16:32 +01:00 |
|
Max Kellermann
|
83fc948008
|
cmdline: use g_build_filename() for ~/.mpdconf
Build the path with g_build_filename(). Also use g_get_home_dir() and
g_file_test().
|
2008-12-27 19:46:43 +01:00 |
|
Max Kellermann
|
f5ff00bba4
|
cmdline: use GLib's option parser
Eliminate duplicated code. The GLib code is much more mature than
MPD's custom parser.
|
2008-12-27 19:36:03 +01:00 |
|
Max Kellermann
|
357712c8f3
|
cmdline: use gboolean instead of int
Prepare for the migration to the GLib option parser, which uses
gboolean for flags.
|
2008-12-27 19:35:30 +01:00 |
|
Max Kellermann
|
786bb8cc33
|
moved command line parser to cmdline.c
|
2008-12-27 19:03:33 +01:00 |
|