Diff

util/prosodyctl/shell.lua @ 10938:a5b8ae066688

util.prosodyctl.shell: Collect extra return values Forgot in previous commit
author Kim Alvefur <zash@zash.se>
date Wed, 17 Jun 2020 19:39:14 +0200
parent 10937:d86f59c31458
child 11422:fa5a23d7aabc
line wrap: on
line diff
--- a/util/prosodyctl/shell.lua	Wed Jun 17 19:36:39 2020 +0200
+++ b/util/prosodyctl/shell.lua	Wed Jun 17 19:39:14 2020 +0200
@@ -60,7 +60,7 @@
 
 local function start(arg) --luacheck: ignore 212/arg
 	local client = adminstream.client();
-	local opts = parse_args(arg);
+	local opts, err, where = parse_args(arg);
 
 	if not opts then
 		if err == "param-not-found" then