prosodyctl
changeset 8149 5c91fb62338e
parent 8131 c14513401d65
parent 8147 8e9a36d0c7d1
child 8156 c22d5680ca68
equal deleted inserted replaced
8136:102e1ec8bee1 8149:5c91fb62338e
   935 			end
   935 			end
   936 			return cert_commands[subcmd](arg);
   936 			return cert_commands[subcmd](arg);
   937 		end
   937 		end
   938 	end
   938 	end
   939 	show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.")
   939 	show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.")
       
   940 	for _, cmd in pairs(cert_commands) do
       
   941 		print()
       
   942 		cmd{ "--help" }
       
   943 	end
   940 end
   944 end
   941 
   945 
   942 function commands.check(arg)
   946 function commands.check(arg)
   943 	if arg[1] == "--help" then
   947 	if arg[1] == "--help" then
   944 		show_usage([[check]], [[Perform basic checks on your Prosody installation]]);
   948 		show_usage([[check]], [[Perform basic checks on your Prosody installation]]);