Misc: Sort commands (and fix bug with hierarchy).

This commit is contained in:
Valentin Lorentz 2011-10-29 09:54:29 +00:00
parent 2169f3aced
commit f0b2a20305

View File

@ -4,6 +4,9 @@
The User plugin The User plugin
=============== ===============
Registration and hostmasks
--------------------------
.. _command-user-username: .. _command-user-username:
user username <hostmask|nick> user username <hostmask|nick>
@ -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 recognized. If a specific True/False value is not given, it
inverts the current value. inverts the current value.
.. _command-user-stats:
user stats
^^^^^^^^^^
Returns some statistics on the user database.
.. _command-user-hostmask-hostmask: .. _command-user-hostmask-hostmask:
user hostmask hostmask [<nick>] user hostmask hostmask [<nick>]
@ -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 This command (and all other commands that include a password) must be
sent to the bot privately, not in a channel. sent to the bot privately, not in a channel.
.. _command-user-list:
user list [--capability=<capability>] [<glob>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Returns the valid registered usernames matching *<glob>*. If *<glob>* is
not given, returns all registered usernames.
.. _command-user-capabilities:
user capabilities [<name>]
^^^^^^^^^^^^^^^^^^^^^^^^^^
Returns the capabilities of the user specified by *<name>*; if *<name>*
isn't specified, returns the capabilities of the user calling the
command.
.. _command-user-unidentify: .. _command-user-unidentify:
user unidentify user unidentify
@ -142,13 +121,6 @@ Identifies the user as *<name>*. This command (and all other
commands that include a password) must be sent to the bot privately, commands that include a password) must be sent to the bot privately,
not in a channel. not in a channel.
.. _command-user-whoami:
user whoami
^^^^^^^^^^^
Returns the name of the user calling the command.
.. _command-user-changename: .. _command-user-changename:
user changename <name> <new name> [<password>] user changename <name> <new name> [<password>]
@ -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 This message must be sent to the bot privately (not on a channel) since
it may contain a password. it may contain a password.
Capabilities
------------
.. _command-user-capabilities:
user capabilities [<name>]
^^^^^^^^^^^^^^^^^^^^^^^^^^
Returns the capabilities of the user specified by *<name>*; if *<name>*
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=<capability>] [<glob>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Returns the valid registered usernames matching *<glob>*. If *<glob>* is
not given, returns all registered usernames.
.. _command-user-whoami:
user whoami
^^^^^^^^^^^
Returns the name of the user calling the command.
.. _plugin-user-config: .. _plugin-user-config: