diff options
author | Max Kellermann <max@duempel.org> | 2008-11-07 08:28:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-07 08:28:53 +0100 |
commit | ae97bd3437baba458be2eec8a57eb5eece63d005 (patch) | |
tree | 402f687f8a78683d727f63ac07bf04666e3999b5 /src/options.c | |
parent | ab3876d4c059d4a076c49d1700067fe7b3696d54 (diff) | |
download | mpd-ae97bd3437baba458be2eec8a57eb5eece63d005.tar.gz mpd-ae97bd3437baba458be2eec8a57eb5eece63d005.tar.xz mpd-ae97bd3437baba458be2eec8a57eb5eece63d005.zip |
options: removed deprecated options
"reconnect" is always enabled. "debug" code has been removed.
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/options.c b/src/options.c index 8f24e107a..1b745bb76 100644 --- a/src/options.c +++ b/src/options.c @@ -65,7 +65,6 @@ static const arg_opt_t option_table[] = { { 'S', "no-splash", NULL, "Don't show the splash screen" }, #ifndef NDEBUG { 'K', "dump-keys", NULL, "Dump key bindings to stdout" }, - { 'D', "debug", NULL, "Enable debug output on stderr" }, #endif }; @@ -187,7 +186,7 @@ handle_option(int c, const char *arg) options.enable_mouse = false; break; case 'e': /* --exit */ - options.reconnect = false; + /* deprecated */ break; case 'p': /* --port */ options.port = atoi(arg); @@ -221,9 +220,6 @@ handle_option(int c, const char *arg) write_key_bindings(stdout, KEYDEF_WRITE_ALL | KEYDEF_COMMENT_ALL); exit(EXIT_SUCCESS); break; - case 'D': /* --debug */ - options.debug = true; - break; #endif default: fprintf(stderr,"Unknown Option %c = %s\n", c, arg); @@ -341,7 +337,6 @@ options_init(void) /* default option values */ options.list_format = g_strdup(DEFAULT_LIST_FORMAT); options.status_format = g_strdup(DEFAULT_STATUS_FORMAT); - options.reconnect = true; options.find_wrap = true; options.wide_cursor = true; options.welcome_screen_list = true; |