From 71cb57df5191da7962185fba8c0dd5847dfd699c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 5 Mar 2021 12:39:49 +0100 Subject: util.prosodyctl.shell: Fix check for --quiet Looked in the wrong table Test procedure: $ prosodyctl shell --quiet Expect: Prosody> (No banner) --- util/prosodyctl/shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/prosodyctl/shell.lua') diff --git a/util/prosodyctl/shell.lua b/util/prosodyctl/shell.lua index 9ac982f7..d6da9dab 100644 --- a/util/prosodyctl/shell.lua +++ b/util/prosodyctl/shell.lua @@ -72,7 +72,7 @@ local function start(arg) --luacheck: ignore 212/arg end client.events.add_handler("connected", function () - if not arg.quiet then + if not opts.quiet then printbanner(); end repl(client); -- cgit v1.2.3