mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.startup: Correctly point out unknown short param (fixes #1691)
This commit is contained in:
parent
cdea694e0d
commit
7ba9ee013c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function startup.parse_args()
|
||||||
end
|
end
|
||||||
|
|
||||||
if not param then
|
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?");
|
print("Perhaps you meant to use prosodyctl instead?");
|
||||||
os.exit(1);
|
os.exit(1);
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue