Changeset

11422:fa5a23d7aabc

util.prosodyctl.shell: Fix check for --quiet Looked in the wrong table Test procedure: $ prosodyctl shell --quiet Expect: Prosody> (No banner)
author Kim Alvefur <zash@zash.se>
date Fri, 05 Mar 2021 12:39:49 +0100 (2021-03-05)
parents 11421:926d53af9a7a
children 11423:0a10bb3b129b
files util/prosodyctl/shell.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);