From 3d7f31b23da599023f2315f68026fa99889ed9a0 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 16 Apr 2013 23:54:34 +0200 Subject: 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. --- libmproxy/console/contentview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/console/contentview.py') 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) -- cgit v1.2.3