prosodyctl: Fix 'restart' command to not report itself as the 'stop' command (thanks albert!)

Mon, 22 Feb 2010 01:47:35 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 22 Feb 2010 01:47:35 +0000
changeset 2705
8a5af6f14c07
parent 2703
bd134aa85fa9
child 2706
c2dde8bda3fe

prosodyctl: Fix 'restart' command to not report itself as the 'stop' command (thanks albert!)

prosodyctl file | annotate | diff | comparison | revisions
--- 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
 	

mercurial