]> granicus.if.org Git - ejabberd/commitdiff
Document how to provide a long announcement (EJAB-1553)
authorBadlop <badlop@process-one.net>
Sat, 14 Apr 2012 21:29:55 +0000 (23:29 +0200)
committerBadlop <badlop@process-one.net>
Sat, 14 Apr 2012 21:29:55 +0000 (23:29 +0200)
src/ejabberd_admin.erl

index 24f8aab1294b483f8116b520467513097432c480..b7fbbd00cbeda8d89a07a49e1c7cbaa855535fb2 100644 (file)
@@ -85,6 +85,10 @@ commands() ->
                        args = [], result = {res, rescode}},
      #ejabberd_commands{name = stop_kindly, tags = [server],
                        desc = "Inform users and rooms, wait, and stop the server",
+                       longdesc = "Provide the delay in seconds, and the "
+                           "announcement quoted, for example: \n"
+                           "ejabberdctl stop_kindly 60 "
+                           "\\\"The server will stop in one minute.\\\"",
                        module = ?MODULE, function = stop_kindly,
                        args = [{delay, integer}, {announcement, string}],
                        result = {res, rescode}},