prosodyctl: Show description of each certificate subcommand
authorKim Alvefur <zash@zash.se>
Tue, 16 May 2017 17:51:33 +0200
changeset 8147 8e9a36d0c7d1
parent 8146 c4c159953c72
child 8148 4d0f5ea19851
prosodyctl: Show description of each certificate subcommand
prosodyctl
--- a/prosodyctl	Sun May 14 17:31:50 2017 +0200
+++ b/prosodyctl	Tue May 16 17:51:33 2017 +0200
@@ -937,6 +937,10 @@
 		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)