aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-12-10 18:58:30 +0000
committerMatthew Wild <mwild1@gmail.com>2015-12-10 18:58:30 +0000
commit499d239662bfc5d663335626664adb0500efa5bc (patch)
tree6abe7e628961f73a7f0a5b15d5715ded3345a77a /prosody
parent60a27e378108dfaf2cfec678eaed357f79ced051 (diff)
parent47fd3f55f22d92f1fa2d25097545a6b4a17d3564 (diff)
downloadprosody-499d239662bfc5d663335626664adb0500efa5bc.tar.gz
prosody-499d239662bfc5d663335626664adb0500efa5bc.zip
Merge 0.10->trunk
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody6
1 files changed, 6 insertions, 0 deletions
diff --git a/prosody b/prosody
index 47998583..a2cb0e6c 100755
--- a/prosody
+++ b/prosody
@@ -43,6 +43,12 @@ if CFG_DATADIR then
end
end
+if #arg > 0 and arg[1] ~= "--config" then
+ print("Unknown command-line option: "..tostring(arg[1]));
+ print("Perhaps you meant to use prosodyctl instead?");
+ return 1;
+end
+
-- Global 'prosody' object
local prosody = { events = require "util.events".new(); };
_G.prosody = prosody;