From cf890e9d43fca4a933a385f66d32a6f669c4fa1e Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 2 Sep 2014 11:09:33 +0100 Subject: [PATCH] Remove option for disabling webclient because it was confusing --- synapse/config/server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/synapse/config/server.py b/synapse/config/server.py index de193b7ed..36143e3c9 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -29,7 +29,7 @@ class ServerConfig(Config): self.unsecure_port = args.unsecure_port self.daemonize = args.daemonize self.pid_file = self.abspath(args.pid_file) - self.webclient = args.no_webclient + self.webclient = True self.manhole = args.manhole @classmethod @@ -53,9 +53,6 @@ class ServerConfig(Config): server_group.add_argument('--pid-file', default="hs.pid", help="When running as a daemon, the file to" " store the pid in") - server_group.add_argument("-W", "--no-webclient", default=True, - action="store_false", - help="Don't host a web client.") server_group.add_argument("--manhole", metavar="PORT", dest="manhole", type=int, help="Turn on the twisted telnet manhole"