aboutsummaryrefslogtreecommitdiffstats
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
commit769dbb1e2f04b3597db97bf19630604a9319b7fe (patch)
tree3d9db8f31959f38d6b8052372769bf4ba5aaa9bc
parent6498b4bc296fd40e8958d836594d745656d37b41 (diff)
downloadprosody-769dbb1e2f04b3597db97bf19630604a9319b7fe.tar.gz
prosody-769dbb1e2f04b3597db97bf19630604a9319b7fe.zip
prosodyctl: Show description of each certificate subcommand
-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)