From b7a6d7937efae894dad0c28759d01042b663ba30 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 23 Sep 2014 12:10:56 +0200 Subject: JSON client: Log pretty-printed request and response with -vv or above The whole HTTP request is now printed with -vvv or above. Changes `verbose` in the connection to be the level from api.env, rather than a boolean value. For XML-RPC, the whole request will be shown already with -v. https://fedorahosted.org/freeipa/ticket/4233 Reviewed-By: David Kupka --- ipa.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipa.1') diff --git a/ipa.1 b/ipa.1 index fc39fceaa..cadd9aa98 100644 --- a/ipa.1 +++ b/ipa.1 @@ -56,7 +56,8 @@ Prompt for all parameters of \fICOMMAND\fR, even if they are optional. Don't fall back to other IPA servers if the default doesn't work. .TP \fB\-v\fR, \fB\-\-verbose\fR -Produce verbose output. A second \-v displays the XML\-RPC request. +Produce verbose output. A second -v pretty-prints the JSON request and response. A third \-v displays the HTTP request and response. +.TP \fB\-\-version\fR Display the IPA version and API version. .SH "COMMANDS" -- cgit