util.prosodyctl.shell: Fix check for --quiet
authorKim Alvefur <zash@zash.se>
Fri, 05 Mar 2021 12:39:49 +0100
changeset 11426 fa5a23d7aabc
parent 11425 926d53af9a7a
child 11427 0a10bb3b129b
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
--- a/util/prosodyctl/shell.lua	Wed Mar 03 20:48:54 2021 +0100
+++ b/util/prosodyctl/shell.lua	Fri Mar 05 12:39:49 2021 +0100
@@ -72,7 +72,7 @@
 	end
 
 	client.events.add_handler("connected", function ()
-		if not arg.quiet then
+		if not opts.quiet then
 			printbanner();
 		end
 		repl(client);