From e52171b0cd454e707de17e8edea850a5a35590ac Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 19 Jan 2020 15:27:16 +0000 Subject: prosody/util.startup: Switch to parse_args() for --root and --config --- prosody | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'prosody') 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"; -- cgit v1.2.3