diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-01-19 15:27:16 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-01-19 15:27:16 +0000 |
commit | f24308103fa0d4057a36069dffff7514760274e5 (patch) | |
tree | f89ced70369166fffa958836d5b10458e67f3b7c /prosody | |
parent | 17358273f2d7ad5624459ecc3d0c01b8bb48a1f2 (diff) | |
download | prosody-f24308103fa0d4057a36069dffff7514760274e5.tar.gz prosody-f24308103fa0d4057a36069dffff7514760274e5.zip |
prosody/util.startup: Switch to parse_args() for --root and --config
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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"; |