Skip to content
Snippets Groups Projects
Commit cf890e9d authored by Mark Haines's avatar Mark Haines
Browse files

Remove option for disabling webclient because it was confusing

parent a808c06a
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ class ServerConfig(Config): ...@@ -29,7 +29,7 @@ class ServerConfig(Config):
self.unsecure_port = args.unsecure_port self.unsecure_port = args.unsecure_port
self.daemonize = args.daemonize self.daemonize = args.daemonize
self.pid_file = self.abspath(args.pid_file) self.pid_file = self.abspath(args.pid_file)
self.webclient = args.no_webclient self.webclient = True
self.manhole = args.manhole self.manhole = args.manhole
@classmethod @classmethod
...@@ -53,9 +53,6 @@ class ServerConfig(Config): ...@@ -53,9 +53,6 @@ class ServerConfig(Config):
server_group.add_argument('--pid-file', default="hs.pid", server_group.add_argument('--pid-file', default="hs.pid",
help="When running as a daemon, the file to" help="When running as a daemon, the file to"
" store the pid in") " 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", server_group.add_argument("--manhole", metavar="PORT", dest="manhole",
type=int, type=int,
help="Turn on the twisted telnet manhole" help="Turn on the twisted telnet manhole"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment