From 4e8f92f0aee1621af3bc1302af7c0982d9a53077 Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Wed, 23 Dec 2015 14:21:20 +0100
Subject: man prosodyctl: Add information about the 'about' and 'check'
 commands

---
 man/prosodyctl.man      | 18 ++++++++++++++++++
 man/prosodyctl.markdown | 15 +++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/man/prosodyctl.man b/man/prosodyctl.man
index 8dd9e1f8..b91502a8 100644
--- a/man/prosodyctl.man
+++ b/man/prosodyctl.man
@@ -86,6 +86,24 @@ files.
 Prints the current execution status of the prosody server daemon.
 .RS
 .RE
+.SS Debugging
+.PP
+prosodyctl can also show some information about the environment,
+dependencies and such to aid in debugging.
+.TP
+.B about
+Shows environment, various paths used by Prosody and installed
+dependencies.
+.RS
+.RE
+.TP
+.B check [what]
+Performs various sanity checks on the configuration, DNS setup and
+configured TLS certificates.
+\f[C]what\f[] can be one of \f[C]config\f[], \f[C]dns\f[] and
+\f[C]certs\f[] to run only that check.
+.RS
+.RE
 .SS Ejabberd Compatibility
 .PP
 ejabberd is another XMPP server which provides a comparable control
diff --git a/man/prosodyctl.markdown b/man/prosodyctl.markdown
index 5360503b..217dfd3d 100644
--- a/man/prosodyctl.markdown
+++ b/man/prosodyctl.markdown
@@ -80,6 +80,21 @@ reload
 status
 :   Prints the current execution status of the prosody server daemon.
 
+Debugging
+---------
+
+prosodyctl can also show some information about the environment,
+dependencies and such to aid in debugging.
+
+about
+:   Shows environment, various paths used by Prosody and
+    installed dependencies.
+
+check \[what\]
+:   Performs various sanity checks on the configuration, DNS setup and
+    configured TLS certificates. `what` can be one of `config`, `dns`
+    and `certs` to run only that check.
+
 Ejabberd Compatibility
 ----------------------
 
-- 
cgit v1.2.3