Tell the users to use the list command if they use the help command without any arguments. Closes GH-516.

This commit is contained in:
Valentin Lorentz 2013-11-10 11:27:42 +01:00
parent 25dc7e092e
commit 2b12a33d82

View File

@ -278,6 +278,9 @@ class Misc(callbacks.Plugin):
This command gives a useful description of what <command> does.
<plugin> is only necessary if the command is in more than one plugin.
You may also want to use the 'list' command to list all available
plugins and commands.
"""
command = map(callbacks.canonicalName, command)
(maxL, cbs) = irc.findCallbacksForArgs(command)