plugins/Misc: Give proper help when listing a plugin with no commands.

This commit is contained in:
James Vega 2005-05-09 17:53:06 +00:00
parent 7bfc9cbdd3
commit 726679d6e4

View File

@ -136,8 +136,9 @@ class Misc(callbacks.Plugin):
'This probably means that it has some ' 'This probably means that it has some '
'configuration variables that can be ' 'configuration variables that can be '
'changed in order to modify its behavior. ' 'changed in order to modify its behavior. '
'Try "config list %s" to see what ' 'Try "config list supybot.plugins.%s" to see '
'configuration variables it has.', cb.name())) 'what configuration variables it has.',
cb.name()))
list = wrap(list, [getopts({'private':''}), additional('plugin')]) list = wrap(list, [getopts({'private':''}), additional('plugin')])
def apropos(self, irc, msg, args, s): def apropos(self, irc, msg, args, s):