Fix some docstrings

This commit is contained in:
James Vega 2005-01-07 04:47:12 +00:00
parent 629e459983
commit 9420d2a17a
2 changed files with 3 additions and 3 deletions

View File

@ -154,7 +154,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
stats = wrap(stats, ['channeldb'])
def last(self, irc, msg, args, channel, optlist):
"""[<channel>] [--{from,with,without,near,proto}=<value>] --nolimit
"""[<channel>] [--{from,with,without,near,proto} <value>] [--nolimit]
Gives the last URL matching the given criteria. --from is from whom
the URL came; --proto is the protocol the URL used; --with is something

View File

@ -449,13 +449,13 @@ class Misc(callbacks.Privmsg):
ircutils.isChannel(msg.args[0])
def last(self, irc, msg, args, optlist):
"""[--{from,in,on,with,without,regexp,nolimit}] <args>
"""[--{from,in,on,with,without,regexp,nolimit} <value>]
Returns the last message matching the given criteria. --from requires
a nick from whom the message came; --in requires a channel the message
was sent to; --on requires a network the message was sent on; --with
requires some string that had to be in the message; --regexp requires
a regular expression the message must i match; --nolimit returns all
a regular expression the message must match; --nolimit returns all
the messages that can be found. By default, the channel this command is
given in is searched.
"""