Changeset

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
parents 8176:f07cfc9b9b36
children 8181:79f73af4c410 8182:048a83433295
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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.")