📝 update docstring

This commit is contained in:
yanyongyu
2021-02-02 12:39:23 +08:00
parent 0d8e51ff3f
commit 98b67ad829
4 changed files with 9 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from nonebot import on_shell_command
from nonebot.rule import to_me, ArgumentParser
parser = ArgumentParser()
parser.add_argument("-a", type=bool)
parser.add_argument("-a", action="store_true")
shell = on_shell_command("ls", to_me(), parser=parser)