mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Fix some help messages
This commit is contained in:
parent
30a8c060ad
commit
180d2e8392
@ -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=',
|
||||
|
@ -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=',
|
||||
|
Loading…
Reference in New Issue
Block a user