Commit Diff


commit - 78978994dfeab446f45817ec78c0e1c9aced3acc
commit + 45ab73ac81ac8167b7e3b2efde6ec2c54127fa68
blob - 1f86cef71748f51d5a626290e714a0ae8517d7ef
blob + 3d9363e68b3226e7ab042f6a5383b1b85dbf86f4
--- doc/Commands.txt
+++ doc/Commands.txt
@@ -399,16 +399,22 @@ 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
 ~~~~~~~~~~~~~~~~