aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-10-12 14:53:45 +0200
committerKim Alvefur <zash@zash.se>2021-10-12 14:53:45 +0200
commit7ba9ee013c5505b855466b80fe93c0ec6d91343a (patch)
tree73dfb9cd0873dbee5876244e25fad2fca16797e1
parentcdea694e0d0b5e8e3a121eb6110868f4324a895a (diff)
downloadprosody-7ba9ee013c5505b855466b80fe93c0ec6d91343a.tar.gz
prosody-7ba9ee013c5505b855466b80fe93c0ec6d91343a.zip
util.startup: Correctly point out unknown short param (fixes #1691)
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index b3857830..602dfe5e 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -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