Comparison

util/prosodyctl/shell.lua @ 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
parent 10938:a5b8ae066688
child 11423:0a10bb3b129b
comparison
equal deleted inserted replaced
11421:926d53af9a7a 11422:fa5a23d7aabc
70 end 70 end
71 os.exit(1); 71 os.exit(1);
72 end 72 end
73 73
74 client.events.add_handler("connected", function () 74 client.events.add_handler("connected", function ()
75 if not arg.quiet then 75 if not opts.quiet then
76 printbanner(); 76 printbanner();
77 end 77 end
78 repl(client); 78 repl(client);
79 end); 79 end);
80 80