Changeset

11844:0f786c4a2cb2 0.11

util.startup: Correctly point out unknown short param (fixes #1691)
author Kim Alvefur <zash@zash.se>
date Tue, 12 Oct 2021 14:53:45 +0200
parents 11825:07a72f0a32df
children 11846:6425dfa3de45 12084:59557bc3c4b8
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/startup.lua	Fri Oct 01 00:21:49 2021 +0200
+++ b/util/startup.lua	Tue Oct 12 14:53:45 2021 +0200
@@ -49,7 +49,7 @@
 		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