about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-10 00:23:59 +0100
committerAlexander Barton <alex@barton.de>2013-02-10 00:23:59 +0100
commit19cb29da514a397268f2965c08496a7b6ff89aa0 (patch)
treefba59ec734011f0aa12fc206a37ab55e1e36adfc
parent6ed3b6f85c6cfa25d1607a8efa51a82ad7a8e012 (diff)
downloadngircd-19cb29da514a397268f2965c08496a7b6ff89aa0.tar.gz
ngircd-19cb29da514a397268f2965c08496a7b6ff89aa0.zip
Commands.txt: Update description of the "WHO" command
-rw-r--r--doc/Commands.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/Commands.txt b/doc/Commands.txt
index 6889039c..f21073ab 100644
--- a/doc/Commands.txt
+++ b/doc/Commands.txt
@@ -373,13 +373,18 @@ Status and Informational Commands
 	 - RFC 2812, 3.4.3 "Version message"
 
 - WHO
-	WHO [<target> ["o"]]
+	WHO [<mask> ["o"]]
 	.
-	Returns a list of users who match <target> (nick, hostmask or channel).
+	Show a list of users who match the <mask>, or all visible users when
+	the <mask> has been omitted. (Special case: the <mask> "0" is
+	equivalent to "*")
 	.
 	If the flag "o" is given, the server will only return information about
 	IRC Operators.
 
+	References:
+	 - RFC 2812, 3.6.1 "Who query"
+
 - WHOIS
 	WHOIS [<server>] <nicknames>
 	.