aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
diff options
context:
space:
mode:
authorTimothy Elliott <tle@holymonkey.com>2015-08-19 13:07:39 -0700
committerTimothy Elliott <tle@holymonkey.com>2015-08-19 13:07:39 -0700
commitfb4af4eb786e5f062c00dc8105f2e2812d66c289 (patch)
tree04554c4ab0cf02eb96f20875a1e69f6ae6d2aa6a /libmproxy/cmdline.py
parentb8db81969d772c06042778ac4760902330bce7d2 (diff)
downloadmitmproxy-fb4af4eb786e5f062c00dc8105f2e2812d66c289.tar.gz
mitmproxy-fb4af4eb786e5f062c00dc8105f2e2812d66c289.tar.bz2
mitmproxy-fb4af4eb786e5f062c00dc8105f2e2812d66c289.zip
console: add command line flag to disable mouse interaction
Adds the --no-mouse command line option to disable the mouse. Fixes #685
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r--libmproxy/cmdline.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py
index d033fb76..6125bfbf 100644
--- a/libmproxy/cmdline.py
+++ b/libmproxy/cmdline.py
@@ -608,6 +608,11 @@ def mitmproxy():
action="store_true", dest="eventlog",
help="Show event log."
)
+ parser.add_argument(
+ "--no-mouse",
+ action="store_true", dest="no_mouse",
+ help="Disable mouse interaction."
+ )
group = parser.add_argument_group(
"Filters",
"See help in mitmproxy for filter expression syntax."