prosodyctl: Add error message for no-pidfile

Tue, 26 May 2009 22:54:46 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 26 May 2009 22:54:46 +0100
changeset 1205
23a079f50cab
parent 1204
dea89234e545
child 1206
3ec37e678b46

prosodyctl: Add error message for no-pidfile

prosodyctl file | annotate | diff | comparison | revisions
--- a/prosodyctl	Tue May 26 21:59:28 2009 +0100
+++ b/prosodyctl	Tue May 26 22:54:46 2009 +0100
@@ -93,6 +93,7 @@
 		["no-password"] = "No password was supplied";
 		["no-such-user"] = "The given user does not exist on the server";
 		["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?";
+		["no-pidfile"] = "There is no pidfile option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help";
 		}, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end });
 
 hosts = {};

mercurial