Diff

prosodyctl @ 2705:8a5af6f14c07

prosodyctl: Fix 'restart' command to not report itself as the 'stop' command (thanks albert!)
author Matthew Wild <mwild1@gmail.com>
date Mon, 22 Feb 2010 01:47:35 +0000
parent 2696:cb5acafbec62
child 2706:c2dde8bda3fe
line wrap: on
line diff
--- a/prosodyctl	Sun Feb 21 19:27:42 2010 -0500
+++ b/prosodyctl	Mon Feb 22 01:47:35 2010 +0000
@@ -435,7 +435,7 @@
 
 function commands.restart(arg)
 	if arg[1] == "--help" then
-		show_usage([[stop]], [[Stop and start a running Prosody server]]);
+		show_usage([[restart]], [[Restart a running Prosody server]]);
 		return 1;
 	end