mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 19:40:44 +00:00
📝 update docstring
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user