Changeset

8365:8e079677d724

man prosodyctl: Highlight subcommands
author Kim Alvefur <zash@zash.se>
date Mon, 23 Oct 2017 12:46:11 +0200
parents 8364:f91ab40a3105
children 8366:272ff3ab25f3 8368:3629639d5fa9
files man/prosodyctl.man man/prosodyctl.markdown
diffstat 2 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/man/prosodyctl.man	Fri Oct 27 13:27:35 2017 +0200
+++ b/man/prosodyctl.man	Mon Oct 23 12:46:11 2017 +0200
@@ -93,33 +93,33 @@
 Commands are of the form \f[C]prosodyctl\ cert\ subcommand\f[].
 Commands take a list of hosts to be included in the certificate.
 .TP
-.B request hosts
+.B \f[C]request\ hosts\f[]
 Create a certificate request (CSR) file for submission to a certificate
 authority.
 Multiple hosts can be given, sub\-domains are automatically included.
 .RS
 .RE
 .TP
-.B generate hosts
+.B \f[C]generate\ hosts\f[]
 Generate a self\-signed certificate.
 .RS
 .RE
 .TP
-.B key host [size]
+.B \f[C]key\ host\ [size]\f[]
 Generate a private key of \[aq]size\[aq] bits (defaults to 2048).
 Invoked automatically by \[aq]request\[aq] and \[aq]generate\[aq] if
 needed.
 .RS
 .RE
 .TP
-.B config hosts
+.B \f[C]config\ hosts\f[]
 Produce a config file for the list of hosts.
 Invoked automatically by \[aq]request\[aq] and \[aq]generate\[aq] if
 needed.
 .RS
 .RE
 .TP
-.B import hosts paths
+.B \f[C]import\ hosts\ paths\f[]
 Copy certificates for hosts into the certificate path and reload
 prosody.
 .RS
@@ -129,13 +129,13 @@
 prosodyctl can also show some information about the environment,
 dependencies and such to aid in debugging.
 .TP
-.B about
+.B \f[C]about\f[]
 Shows environment, various paths used by Prosody and installed
 dependencies.
 .RS
 .RE
 .TP
-.B check [what]
+.B \f[C]check\ [what]\f[]
 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
--- a/man/prosodyctl.markdown	Fri Oct 27 13:27:35 2017 +0200
+++ b/man/prosodyctl.markdown	Mon Oct 23 12:46:11 2017 +0200
@@ -88,23 +88,23 @@
 `prosodyctl cert subcommand`. Commands take a list of hosts to be
 included in the certificate.
 
-request hosts
+`request hosts`
 :   Create a certificate request (CSR) file for submission to a
     certificate authority. Multiple hosts can be given, sub-domains are
     automatically included.
 
-generate hosts
+`generate hosts`
 :   Generate a self-signed certificate.
 
-key host \[size\]
+`key host [size]`
 :   Generate a private key of 'size' bits (defaults to 2048). Invoked
     automatically by 'request' and 'generate' if needed.
 
-config hosts
+`config hosts`
 :   Produce a config file for the list of hosts. Invoked automatically
     by 'request' and 'generate' if needed.
 
-import hosts paths
+`import hosts paths`
 :   Copy certificates for hosts into the certificate path and reload
     prosody.
 
@@ -114,11 +114,11 @@
 prosodyctl can also show some information about the environment,
 dependencies and such to aid in debugging.
 
-about
+`about`
 :   Shows environment, various paths used by Prosody and installed
     dependencies.
 
-check \[what\]
+`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.