util.startup: Correctly point out unknown short param (fixes #1691)

This commit is contained in:
Kim Alvefur 2021-10-12 14:53:45 +02:00
parent cdea694e0d
commit 7ba9ee013c

View file

@ -49,7 +49,7 @@ function startup.parse_args()
end
if not param then
print("Unknown command-line option: "..tostring(param));
print("Unknown command-line option: "..tostring(raw_param));
print("Perhaps you meant to use prosodyctl instead?");
os.exit(1);
end