From de65d19abee41b604161ddcae07276b442578be3 Mon Sep 17 00:00:00 2001 From: StarHeart Date: Sun, 22 Oct 2023 02:46:45 +0000 Subject: [PATCH] :memo: fix typo in versioned docs --- .../version-2.1.0/best-practice/alconna/command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-2.1.0/best-practice/alconna/command.md b/website/versioned_docs/version-2.1.0/best-practice/alconna/command.md index 9d97b0ff288c..e77263e3038c 100644 --- a/website/versioned_docs/version-2.1.0/best-practice/alconna/command.md +++ b/website/versioned_docs/version-2.1.0/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`: