From 8cb0d0bbb0e6d5a9ff71652051d1741d5838cd73 Mon Sep 17 00:00:00 2001 From: StarHeart Date: Sun, 22 Oct 2023 10:38:38 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20fix=20typo=20`=E4=B9=8B=E5=89=8D`=20->?= =?UTF-8?q?=20`=E6=AD=A3=E7=A1=AE`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../version-2.1.1/best-practice/alconna/command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-2.1.1/best-practice/alconna/command.md b/website/versioned_docs/version-2.1.1/best-practice/alconna/command.md index 9d97b0ff288c..e77263e3038c 100644 --- a/website/versioned_docs/version-2.1.1/best-practice/alconna/command.md +++ b/website/versioned_docs/version-2.1.1/best-practice/alconna/command.md @@ -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`: