aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/options.c7
-rw-r--r--src/options.h2
2 files changed, 1 insertions, 8 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;
diff --git a/src/options.h b/src/options.h
index 0f9fa13c1..791ec2f09 100644
--- a/src/options.h
+++ b/src/options.h
@@ -26,8 +26,6 @@ typedef struct {
int hide_cursor;
int seek_time;
int lyrics_timeout;
- bool reconnect;
- bool debug;
bool find_wrap;
bool find_show_last_pattern;
bool list_wrap;