aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/options.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-04-27 15:58:54 +1200
committerAldo Cortesi <aldo@nullcube.com>2017-04-27 15:58:54 +1200
commitb7afcb5dc2007ce451161e513d3e55d4cc91379e (patch)
treec657a3b8d2f187a37f59ad05c029341568482136 /mitmproxy/options.py
parent8c4810f6069bcf592d480e5cc2d7338cd176085e (diff)
downloadmitmproxy-b7afcb5dc2007ce451161e513d3e55d4cc91379e.tar.gz
mitmproxy-b7afcb5dc2007ce451161e513d3e55d4cc91379e.tar.bz2
mitmproxy-b7afcb5dc2007ce451161e513d3e55d4cc91379e.zip
addons.streamfile -> addons.save
Options: streamfile -> save_stream_file streamfile_filter -> save_stream_filter
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r--mitmproxy/options.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py
index 8f8c1484..e477bed5 100644
--- a/mitmproxy/options.py
+++ b/mitmproxy/options.py
@@ -159,11 +159,11 @@ class Options(optmanager.OptManager):
choices = [i.name.lower() for i in contentviews.views]
)
self.add_option(
- "streamfile", Optional[str], None,
- "Write flows to file. Prefix path with + to append."
+ "save_stream_file", Optional[str], None,
+ "Stream flows to file as they arrive. Prefix path with + to append."
)
self.add_option(
- "streamfile_filter", Optional[str], None,
+ "save_stream_filter", Optional[str], None,
"Filter which flows are written to file."
)
self.add_option(