From 180d2e83922afadf0a15a8722701b349536a03ee Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 28 Jun 2004 19:38:05 +0000 Subject: [PATCH] Fix some help messages --- plugins/URL.py | 8 ++++---- src/Misc.py | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/plugins/URL.py b/plugins/URL.py index 153e6cc80..ea9c46bf3 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -341,10 +341,10 @@ class URL(callbacks.PrivmsgCommandAndRegexp, Gives the last URL matching the given criteria. --from is from whom the URL came; --at is the site of the URL; --proto is the protocol the URL used; --with is something inside the URL; --near is a string in the - messages before and after the link. If --nolimit is given, returns as - many URLs as can fit in the message. --fancy returns information in - addition to just the URL. is only necessary if the - message isn't sent in the channel itself. + messages before and after the link. If --nolimit is given, returns + all the URLs that are found. --fancy returns information in addition + to just the URL. is only necessary if the message isn't sent + in the channel itself. """ channel = privmsgs.getChannel(msg, args) (optlist, rest) = getopt.getopt(args, '', ['from=', 'with=', 'at=', diff --git a/src/Misc.py b/src/Misc.py index ee1de9c8a..bf587271a 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -397,13 +397,14 @@ class Misc(callbacks.Privmsg): ircutils.isChannel(msg.args[0]) def last(self, irc, msg, args): - """[--{from,in,to,with,regexp}] + """[--{from,in,to,with,regexp,nolimit}] Returns the last message matching the given criteria. --from requires a nick from whom the message came; --in and --to require a channel the message was sent to; --with requires some string that had to be in the - message; --regexp requires a regular expression the message must - match. By default, the current channel is searched. + message; --regexp requires a regular expression the message must i + match; --nolimit returns all the messages that can be found. By + default, the current channel is searched. """ (optlist, rest) = getopt.getopt(args, '', ['from=', 'in=', 'to=', 'with=', 'regexp=',