Diff

prosodyctl @ 10369:9d20fca6a485

prosodyctl: Print friendly version of error messages
author Kim Alvefur <zash@zash.se>
date Fri, 01 Nov 2019 23:16:58 +0100
parent 10270:c2b9ff42db03
child 10434:8f709577fe8e
line wrap: on
line diff
--- a/prosodyctl	Fri Nov 01 23:11:43 2019 +0100
+++ b/prosodyctl	Fri Nov 01 23:16:58 2019 +0100
@@ -144,7 +144,7 @@
 
 	if ok then return 0; end
 
-	show_message(msg)
+	show_message(error_messages[msg])
 	return 1;
 end