changeset 13487 | 7b070909bd15 |
parent 13402 | 4ba11c2b915a |
--- a/util/prosodyctl/shell.lua Tue Apr 23 20:01:41 2024 +0200 +++ b/util/prosodyctl/shell.lua Wed Apr 24 11:45:37 2024 +0100 @@ -83,7 +83,7 @@ for i = 3, #arg do if arg[i]:sub(1, 1) == ":" then table.insert(fmt, i, ")%s("); - elseif i > 3 and fmt[i - 1] == "%q" then + elseif i > 3 and fmt[i - 1]:match("%%q$") then table.insert(fmt, i, ", %q"); else table.insert(fmt, i, "%q");