📝 Docs: 修复 Alconna 文档 typo (#2429)

This commit is contained in:
StarHeart 2023-10-22 14:28:29 +08:00 committed by GitHub
parent d3883ea3ae
commit e2cbe3c1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ from arclet.alconna import Alconna, Args
alc = Alconna("test", Args["foo", str])
alc.parse("test --foo abc") # 错误
alc.parse("test abc") # 之前
alc.parse("test abc") # 正确
```
若需要 `test --foo abc`,你应该使用 `Option`

View File

@ -174,7 +174,7 @@ from arclet.alconna import Alconna, Args
alc = Alconna("test", Args["foo", str])
alc.parse("test --foo abc") # 错误
alc.parse("test abc") # 之前
alc.parse("test abc") # 正确
```
若需要 `test --foo abc`,你应该使用 `Option`