author | Matthew Wild <mwild1@gmail.com> |
Thu, 10 Dec 2015 13:33:14 +0000 | |
changeset 6988 | a2e1f5ebdb53 |
parent 6987 | 0f633160464c |
child 6989 | 6aae14b079d0 |
--- a/prosody Thu Dec 10 15:16:49 2015 +0100 +++ b/prosody Thu Dec 10 13:33:14 2015 +0000 @@ -43,6 +43,12 @@ 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;