prosodyctl
changeset 8147 8e9a36d0c7d1
parent 8125 e56a90168890
child 8149 5c91fb62338e
child 8180 f52cdad171b0
equal deleted inserted replaced
8146:c4c159953c72 8147:8e9a36d0c7d1
   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]]);