Diff

util/startup.lua @ 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
parent 11539:3413fea9e6db
child 11846:6425dfa3de45
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