Fix some help messages

This commit is contained in:
James Vega 2004-06-28 19:38:05 +00:00
parent 30a8c060ad
commit 180d2e8392
2 changed files with 8 additions and 7 deletions

View File

@ -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. <channel> 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. <channel> 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=',

View File

@ -397,13 +397,14 @@ class Misc(callbacks.Privmsg):
ircutils.isChannel(msg.args[0])
def last(self, irc, msg, args):
"""[--{from,in,to,with,regexp}] <args>
"""[--{from,in,to,with,regexp,nolimit}] <args>
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=',