Merge pull request #2191 from LuD1161/Issue#2139

improve flow_detail help text
This commit is contained in:
Maximilian Hils 2017-05-22 12:06:07 +02:00 committed by GitHub
commit 2222f0b65a

View File

@ -438,7 +438,13 @@ class Options(optmanager.OptManager):
# Dump options
self.add_option(
"flow_detail", int, 1,
"Flow detail display level."
"""
The display detail level for flows in mitmdump: 0 (almost quiet) to 3 (very verbose).
0: shortened request URL, response status code, WebSocket and TCP message notifications.
1: full request URL with response status code
2: 1 + HTTP headers
3: 2 + full response content, content of WebSocket and TCP messages.
"""
)
self.update(**kwargs)