Skip to content

Commit

Permalink
📝 fix typo in versioned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Oct 22, 2023
1 parent 8cb0d0b commit de65d19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit de65d19

Please sign in to comment.