Comparison

prosodyctl @ 8181:79f73af4c410

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 06 Jul 2017 11:24:36 +0200
parent 8153:c22d5680ca68
parent 8177:f52cdad171b0
child 8201:a0ad62a269df
comparison
equal deleted inserted replaced
8180:67a9ff352271 8181:79f73af4c410
930 if arg[1] ~= "--help" and not hosts[arg[1]] then 930 if arg[1] ~= "--help" and not hosts[arg[1]] then
931 show_message(error_messages["no-such-host"]); 931 show_message(error_messages["no-such-host"]);
932 return 1; 932 return 1;
933 end 933 end
934 return cert_commands[subcmd](arg); 934 return cert_commands[subcmd](arg);
935 elseif subcmd == "check" then
936 return commands.check({"certs"});
935 end 937 end
936 end 938 end
937 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.")
938 for _, cmd in pairs(cert_commands) do 940 for _, cmd in pairs(cert_commands) do
939 print() 941 print()