summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-02-10 07:42:40 +0100
committerDave Davenport <qball@gmpclient.org>2015-02-10 07:42:40 +0100
commita50219e903d940dda6163e8af4b2fba97de5e793 (patch)
treef0c16bcede0f30f507eb52e1c0f35b50fb82aecb /source/helper.c
parente76db3fce30800bcba6cfb77bb58be4eaf55c58b (diff)
Remove hmode. (Rather no implementation then a bad one.)
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/helper.c b/source/helper.c
index 609a6e50..7743af83 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -419,10 +419,6 @@ void config_parse_cmd_options ( int argc, char ** argv )
// Parse commandline arguments about behavior
find_arg_str ( argc, argv, "-terminal", &( config.terminal_emulator ) );
- if ( find_arg ( argc, argv, "-hmode" ) >= 0 ) {
- config.hmode = TRUE;
- }
-
find_arg_str ( argc, argv, "-ssh-client", &( config.ssh_client ) );
find_arg_str ( argc, argv, "-ssh-command", &( config.ssh_command ) );
find_arg_str ( argc, argv, "-run-command", &( config.run_command ) );
@@ -473,10 +469,6 @@ void config_sanity_check ( void )
WL_WEST, config.location, WL_CENTER );
exit ( 1 );
}
- if ( !( config.hmode == TRUE || config.hmode == FALSE ) ) {
- fprintf ( stderr, "config.hmode is invalid.\n" );
- exit ( 1 );
- }
// If alternative row is not set, copy the normal background color.
if ( config.menu_bg_alt == NULL ) {
config.menu_bg_alt = config.menu_bg;