diff options
author | Timothy Elliott <tle@holymonkey.com> | 2015-08-19 13:07:39 -0700 |
---|---|---|
committer | Timothy Elliott <tle@holymonkey.com> | 2015-08-19 13:07:39 -0700 |
commit | fb4af4eb786e5f062c00dc8105f2e2812d66c289 (patch) | |
tree | 04554c4ab0cf02eb96f20875a1e69f6ae6d2aa6a /libmproxy/cmdline.py | |
parent | b8db81969d772c06042778ac4760902330bce7d2 (diff) | |
download | mitmproxy-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.py | 5 |
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." |