Diff

prosodyctl @ 8144:8e9a36d0c7d1

prosodyctl: Show description of each certificate subcommand
author Kim Alvefur <zash@zash.se>
date Tue, 16 May 2017 17:51:33 +0200
parent 8122:e56a90168890
child 8146:5c91fb62338e
child 8177:f52cdad171b0
line wrap: on
line diff
--- 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)