Changeset

8144:8e9a36d0c7d1

prosodyctl: Show description of each certificate subcommand
author Kim Alvefur <zash@zash.se>
date Tue, 16 May 2017 17:51:33 +0200
parents 8143:c4c159953c72
children 8145:4d0f5ea19851
files prosodyctl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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)