From ae97bd3437baba458be2eec8a57eb5eece63d005 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Nov 2008 08:28:53 +0100 Subject: options: removed deprecated options "reconnect" is always enabled. "debug" code has been removed. --- src/options.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/options.c') 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; -- cgit v1.2.3