about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-10 00:24:34 +0100
committerAlexander Barton <alex@barton.de>2013-02-10 00:24:34 +0100
commit45ab73ac81ac8167b7e3b2efde6ec2c54127fa68 (patch)
treea2d1473dff8170d7d728c939a5e2cdf23d9523e3
parent78978994dfeab446f45817ec78c0e1c9aced3acc (diff)
downloadngircd-45ab73ac81ac8167b7e3b2efde6ec2c54127fa68.tar.gz
ngircd-45ab73ac81ac8167b7e3b2efde6ec2c54127fa68.zip
Commands.txt: Update description of the "WHOWAS" command
-rw-r--r--doc/Commands.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/Commands.txt b/doc/Commands.txt
index 1f86cef7..3d9363e6 100644
--- a/doc/Commands.txt
+++ b/doc/Commands.txt
@@ -399,14 +399,20 @@ Status and Informational Commands
 	 - RFC 2812, 3.6.2 "Whois query"
 
 - WHOWAS
-	WHOWAS <nickname> [<count> [<server>]]
+	WHOWAS <nickname>[,<nickname>[,...]] [<count> [<target>]]
 	.
-	Used to return information about <nicknames> that are no longer in use
-	(due to client disconnection, or nickname changes).
+	Query information about nicknames no longer in use in the network,
+	either because of nickname changes or disconnects. The history is
+	searched backwards, returning the most recent entry first. If there
+	are multiple entries, up to <count> entries will be shown (or all of
+	them, if no <count> has been given).
 	.
-	If given, the server will return information from the last <count> times
-	the nickname has been used.
-	If <server> is given, the command is forwarded to it for processing.
+	<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.6.3 "Whowas"
 
 
 Channel Commands