X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosody;h=a2cb0e6cdb09319aa1650d7b51f4597728947aab;hb=6476483abc422694260d7db92bdea1b370c97481;hp=47998583168463b238f6998e038f3a544e18c99b;hpb=0979336ed04a158da127710b0cf574c885556668;p=prosody.git 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;