📝 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

@ -326,7 +326,7 @@ def shell_command(*cmds: Union[str, Tuple[str, ...]],
from nonebot.rule import ArgumentParser
parser = ArgumentParser()
parser.add_argument("-a", type=bool)
parser.add_argument("-a", action="store_true")
rule = shell_command("ls", parser=parser)