mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
for Alias, make doc string say "at least x args" if there are optional args in addition to required args.
yay for cosmetic improvements. :) Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
8d64d08645
commit
f880037e41
@ -157,8 +157,11 @@ def makeNewAlias(name, alias):
|
||||
return False
|
||||
everythingReplace(tokens)
|
||||
self.Proxy(irc, msg, tokens)
|
||||
doc =format('<an alias, %n>\n\nAlias for %q.',
|
||||
(biggestDollar, 'argument'), alias)
|
||||
flexargs = ''
|
||||
if biggestDollar and (wildcard or biggestAt):
|
||||
flexargs = ' at least'
|
||||
doc =format('<an alias,%s %n>\n\nAlias for %q.',
|
||||
flexargs, (biggestDollar, 'argument'), alias)
|
||||
f = utils.python.changeFunctionName(f, name, doc)
|
||||
return f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user