aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-05-16 17:51:33 +0200
committerKim Alvefur <zash@zash.se>2017-05-16 17:51:33 +0200
commit25efb61c2484b89a7f3f1589667ab64f4cb577f2 (patch)
tree3d9db8f31959f38d6b8052372769bf4ba5aaa9bc /prosodyctl
parentd7789712dab1431eafbf00a8f3bb68e45738bc86 (diff)
downloadprosody-25efb61c2484b89a7f3f1589667ab64f4cb577f2.tar.gz
prosody-25efb61c2484b89a7f3f1589667ab64f4cb577f2.zip
prosodyctl: Show description of each certificate subcommand
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index f061c122..e8e84416 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -937,6 +937,10 @@ function commands.cert(arg)
end
end
show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.")
+ for _, cmd in pairs(cert_commands) do
+ print()
+ cmd{ "--help" }
+ end
end
function commands.check(arg)