Diff

prosodyctl @ 8177:f52cdad171b0

prosodyctl: Make `cert check` do the same as `check certs`
author Kim Alvefur <zash@zash.se>
date Thu, 06 Jul 2017 10:41:28 +0200
parent 8144:8e9a36d0c7d1
child 8181:79f73af4c410
child 8190:331caee0c774
line wrap: on
line diff
--- a/prosodyctl	Thu Jul 06 10:40:00 2017 +0200
+++ b/prosodyctl	Thu Jul 06 10:41:28 2017 +0200
@@ -934,6 +934,8 @@
 				return 1;
 			end
 			return cert_commands[subcmd](arg);
+		elseif subcmd == "check" then
+			return commands.check({"certs"});
 		end
 	end
 	show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.")