about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-10 00:22:50 +0100
committerAlexander Barton <alex@barton.de>2013-02-10 00:22:50 +0100
commit7c7fc8b5c4d6e7d6be3cf840688c3e34a8cb05a3 (patch)
tree013fe91abcf418dfe46edc74dcebe709b5bbf1a3 /doc
parent1a5e08f3f6d240f865434e9274f01e6f39a704cb (diff)
downloadngircd-7c7fc8b5c4d6e7d6be3cf840688c3e34a8cb05a3.tar.gz
ngircd-7c7fc8b5c4d6e7d6be3cf840688c3e34a8cb05a3.zip
Commands.txt: Update description of the "STATS" command
Diffstat (limited to 'doc')
-rw-r--r--doc/Commands.txt24
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/Commands.txt b/doc/Commands.txt
index e38f03f6..2ea533a0 100644
--- a/doc/Commands.txt
+++ b/doc/Commands.txt
@@ -303,17 +303,25 @@ Status and Informational Commands
 	 - RFC 2812, 3.2.5 "Names message"
 
 - STATS
-	STATS <flag> [<server>]
+	STATS [<query> [<target>]]
 	.
-	Returns statistics about the current server, or of a specified <server>.
+	Show statistics and other information of type <query> of a particular
+	IRC server in the network.
 	.
-	STATS flags:
+	The following <query> types are supported (case-insensitive):
 	.
-	g = G-Lines (Network-wide bans)
-	k = K-Lines (Server-local bans)
-	l = Link status (Parent server and own link)
-	m = IRC command status (usage count)
-	u = Server uptime
+	 - g  Network-wide bans ("G-Lines").
+	 - k  Server-local bans ("K-Lines").
+	 - l  Link status (parent server and own link only).
+	 - m  Command usage count.
+	 - u  Server uptime.
+	.
+	<target> can be a server name, the nickname of a client connected to
+	a specific server, or a mask matching a server name in the network.
+	The server of the current connecion is used when <target> is omitted.
+
+	References:
+	 - RFC 2812, 3.4.4 "Stats message"
 
 - TIME
 	TIME [<server>]