summaryrefslogtreecommitdiffstats
path: root/ipa.1
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-09-23 12:10:56 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-09-24 13:57:56 +0200
commitb7a6d7937efae894dad0c28759d01042b663ba30 (patch)
tree4de09e980d2bdddf5aaebaf0f3d45ed2138d3e5a /ipa.1
parentccb91f5970537df6362ec7f41cded369b668e91a (diff)
downloadfreeipa-b7a6d7937efae894dad0c28759d01042b663ba30.tar.gz
freeipa-b7a6d7937efae894dad0c28759d01042b663ba30.tar.xz
freeipa-b7a6d7937efae894dad0c28759d01042b663ba30.zip
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 <dkupka@redhat.com>
Diffstat (limited to 'ipa.1')
-rw-r--r--ipa.13
1 files changed, 2 insertions, 1 deletions
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"