summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab3876d)
raw | patch | inline | side by side (parent: ab3876d)
author | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 07:28:53 +0000 (08:28 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 07:28:53 +0000 (08:28 +0100) |
"reconnect" is always enabled. "debug" code has been removed.
src/options.c | patch | blob | history | |
src/options.h | patch | blob | history |
diff --git a/src/options.c b/src/options.c
index 8f24e107a652e00a958b208c0042df2f4ff90952..1b745bb76467854c7ebc488d13797d13b228d9ad 100644 (file)
--- a/src/options.c
+++ b/src/options.c
{ '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
};
options.enable_mouse = false;
break;
case 'e': /* --exit */
- options.reconnect = false;
+ /* deprecated */
break;
case 'p': /* --port */
options.port = atoi(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);
/* 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 0f9fa13c1105854a0436bfc5a5de6cfe783f0c68..791ec2f09c9faa3971ebf8ee0bcaf9135f805505 100644 (file)
--- a/src/options.h
+++ b/src/options.h
int hide_cursor;
int seek_time;
int lyrics_timeout;
- bool reconnect;
- bool debug;
bool find_wrap;
bool find_show_last_pattern;
bool list_wrap;