Changeset

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
parents 2703:bd134aa85fa9
children 2706:c2dde8bda3fe
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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