✏ Fix typo in docs for CLI Option autocompletion (#288)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
graue70 2022-05-12 21:17:49 +02:00 committed by GitHub
parent dc609f0a65
commit 0fe8f472f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,7 +222,7 @@ If there's no `--name` in the command line, it will be `None`, so we use `or []`
Then, when we have a completion candidate, we check if each `name` was already provided with `--name` by checking if it's in that list of `names` with `name not in names`.
And then we `yield` each item that has not being used yet.
And then we `yield` each item that has not been used yet.
Check it: