aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-01-19 15:27:16 +0000
committerMatthew Wild <mwild1@gmail.com>2020-01-19 15:27:16 +0000
commita7abd40011fb09c4585f05da281d3026490bc2ae (patch)
treef89ced70369166fffa958836d5b10458e67f3b7c /prosody
parentbd3e6037e4a692becdeff0e91b0b1b5c38cb663a (diff)
downloadprosody-a7abd40011fb09c4585f05da281d3026490bc2ae.tar.gz
prosody-a7abd40011fb09c4585f05da281d3026490bc2ae.zip
prosody/util.startup: Switch to parse_args() for --root and --config
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody6
1 files changed, 1 insertions, 5 deletions
diff --git a/prosody b/prosody
index 204fb36d..3659ca55 100755
--- a/prosody
+++ b/prosody
@@ -43,11 +43,7 @@ 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
+
local startup = require "util.startup";
local async = require "util.async";