diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2013-04-16 23:54:34 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2013-04-16 23:54:34 +0200 |
commit | 3d7f31b23da599023f2315f68026fa99889ed9a0 (patch) | |
tree | 75abfa28f537d80174e87f94c9ec15ea7c53a8db /libmproxy/console/contentview.py | |
parent | 51b775cfd4165ed80dcb5458ddff942125fcba31 (diff) | |
download | mitmproxy-3d7f31b23da599023f2315f68026fa99889ed9a0.tar.gz mitmproxy-3d7f31b23da599023f2315f68026fa99889ed9a0.tar.bz2 mitmproxy-3d7f31b23da599023f2315f68026fa99889ed9a0.zip |
Correct display mode highlight keys
Add html display mode to the help documentation.
Correct html and hex display mode highlight keys (help used 'h' for hex).
Correct json display mode highlight keys.
Diffstat (limited to 'libmproxy/console/contentview.py')
-rw-r--r-- | libmproxy/console/contentview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/contentview.py b/libmproxy/console/contentview.py index 2b46064a..06710d2c 100644 --- a/libmproxy/console/contentview.py +++ b/libmproxy/console/contentview.py @@ -137,7 +137,7 @@ class ViewXML: class ViewJSON: name = "JSON" - prompt = ("json", "j") + prompt = ("json", "s") content_types = ["application/json"] def __call__(self, hdrs, content, limit): lines = utils.pretty_json(content) |