From f0b2a203056722d98a67cc1ae644a8c75f9b1177 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Oct 2011 09:54:29 +0000 Subject: [PATCH] Misc: Sort commands (and fix bug with hierarchy). --- use/plugins/user.rst | 69 ++++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/use/plugins/user.rst b/use/plugins/user.rst index b99b300..671f6a0 100644 --- a/use/plugins/user.rst +++ b/use/plugins/user.rst @@ -4,6 +4,9 @@ The User plugin =============== +Registration and hostmasks +-------------------------- + .. _command-user-username: user username @@ -35,13 +38,6 @@ secure flag is set, the user *must* identify before he can be recognized. If a specific True/False value is not given, it inverts the current value. -.. _command-user-stats: - -user stats -^^^^^^^^^^ - -Returns some statistics on the user database. - .. _command-user-hostmask-hostmask: user hostmask hostmask [] @@ -106,23 +102,6 @@ user, or use the identify command to identify just for a session. This command (and all other commands that include a password) must be sent to the bot privately, not in a channel. -.. _command-user-list: - -user list [--capability=] [] -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Returns the valid registered usernames matching **. If ** is -not given, returns all registered usernames. - -.. _command-user-capabilities: - -user capabilities [] -^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Returns the capabilities of the user specified by **; if ** -isn't specified, returns the capabilities of the user calling the -command. - .. _command-user-unidentify: user unidentify @@ -142,13 +121,6 @@ Identifies the user as **. This command (and all other commands that include a password) must be sent to the bot privately, not in a channel. -.. _command-user-whoami: - -user whoami -^^^^^^^^^^^ - -Returns the name of the user calling the command. - .. _command-user-changename: user changename [] @@ -159,6 +131,41 @@ Changes your current user database name to the new name given. This message must be sent to the bot privately (not on a channel) since it may contain a password. +Capabilities +------------ + +.. _command-user-capabilities: + +user capabilities [] +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Returns the capabilities of the user specified by **; if ** +isn't specified, returns the capabilities of the user calling the +command. + +Other commands + +.. _command-user-stats: + +user stats +^^^^^^^^^^ + +Returns some statistics on the user database. + +.. _command-user-list: + +user list [--capability=] [] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Returns the valid registered usernames matching **. If ** is +not given, returns all registered usernames. + +.. _command-user-whoami: + +user whoami +^^^^^^^^^^^ + +Returns the name of the user calling the command. .. _plugin-user-config: