diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 72263c0ee..83145f663 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -174,8 +174,7 @@ class StatusBar(common.WWrap): r.append("[dest:%s]"%utils.unparse_url(*self.master.server.config.get_upstream_server.dst)) if self.master.scripts: r.append("[scripts:%s]"%len(self.master.scripts)) - if self.master.debug: - r.append("[lt:%0.3f]"%self.master.looptime) + # r.append("[lt:%0.3f]"%self.master.looptime) if self.master.stream: r.append("[W:%s]"%self.master.stream_path) @@ -325,7 +324,6 @@ class Options(object): "anticache", "anticomp", "client_replay", - "debug", "eventlog", "keepserving", "kill", @@ -406,8 +404,6 @@ class ConsoleMaster(flow.FlowMaster): if options.server_replay: self.server_playback_path(options.server_replay) - self.debug = options.debug - if options.scripts: for i in options.scripts: err = self.load_script(i) diff --git a/mitmproxy b/mitmproxy index f227f2018..90f9ce1fc 100755 --- a/mitmproxy +++ b/mitmproxy @@ -17,7 +17,6 @@ if __name__ == '__main__': parser = argparse.ArgumentParser(usage = "%(prog)s [options]") parser.add_argument('--version', action='version', version=libmproxy.version.NAMEVERSION) cmdline.common_options(parser) - parser.add_argument("--debug", dest="debug", default=False, action="store_true") parser.add_argument( "--palette", type=str, default="dark", action="store", dest="palette", @@ -55,7 +54,6 @@ if __name__ == '__main__': opts = console.Options(**cmdline.get_common_options(options)) opts.eventlog = options.eventlog opts.intercept = options.intercept - opts.debug = options.debug opts.palette = options.palette spec = ""