]> jfr.im git - erebus.git/commitdiff
help - clarify genhelp command
authorzonidjan <redacted>
Thu, 21 Sep 2017 18:18:14 +0000 (13:18 -0500)
committerzonidjan <redacted>
Thu, 21 Sep 2017 18:18:14 +0000 (13:18 -0500)
modules/help.py

index 916c839d4245bcbd0b3d3b34b88186c2221f0819..e835bc0ace7b0663fadfd880ee83b889d630f7da 100644 (file)
@@ -125,7 +125,7 @@ def _genhelp(bot, user, chan, realtarget, *args):
        return True
 
 @lib.hook(glevel=1, needchan=False)
-@lib.help(None, "generates help file", "default path: ./help/<level>.txt", "config as: [help]", "path = ./help/%d.txt")
+@lib.help("[@<module>] [#<level>] [file]", "generates help file", "arguments are all optional and may be specified in any order", "default file: ./help/<level>.txt", "config as: [help]", "path = ./help/%d.txt")
 def genhelp(bot, user, chan, realtarget, *args):
        try:
                _genhelp(bot, user, chan, realtarget, *args)