prosodyctl: Make `cert check` do the same as `check certs`
authorKim Alvefur <zash@zash.se>
Thu, 06 Jul 2017 10:41:28 +0200
changeset 8180 f52cdad171b0
parent 8179 f07cfc9b9b36
child 8184 79f73af4c410
child 8185 048a83433295
prosodyctl: Make `cert check` do the same as `check certs`
prosodyctl
--- 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.")