Skip to content

Commit a169a35

Browse files
authored
✏️ Fix small typos in the tutorial documentation (#1137)
1 parent d3d3e46 commit a169a35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/tutorial/options-autocompletion.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ But you can also provide auto completion for the **values** of *CLI options* and
1010

1111
Before checking how to provide custom completions, let's check again how it works.
1212

13-
After installing completion for your own Python package (or using the `typer` command), when you use your CLI program and start adding a *CLI option* with `--` an then hit <kbd>TAB</kbd>, your shell will show you the available *CLI options* (the same for *CLI arguments*, etc).
13+
After installing completion for your own Python package (or using the `typer` command), when you use your CLI program and start adding a *CLI option* with `--` and then hit <kbd>TAB</kbd>, your shell will show you the available *CLI options* (the same for *CLI arguments*, etc).
1414

1515
To check it quickly without creating a new Python package, use the `typer` command.
1616

@@ -165,7 +165,7 @@ That simplifies our code a bit and works the same.
165165

166166
/// tip
167167

168-
If all the `yield` part seems complex for you, don't worry, you can just use the version with the `list` above.
168+
If the `yield` part seems complex for you, don't worry, you can just use the version with the `list` above.
169169

170170
In the end, that's just to save us a couple of lines of code.
171171

docs/tutorial/options/callback-and-context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There's something to be aware of with callbacks and completion that requires som
4343

4444
But first let's just use completion in your shell (Bash, Zsh, Fish, or PowerShell).
4545

46-
After installing completion (for your own Python package), when you use your CLI program and start adding a *CLI option* with `--` an then hit <kbd>TAB</kbd>, your shell will show you the available *CLI options* (the same for *CLI arguments*, etc).
46+
After installing completion (for your own Python package), when you use your CLI program and start adding a *CLI option* with `--` and then hit <kbd>TAB</kbd>, your shell will show you the available *CLI options* (the same for *CLI arguments*, etc).
4747

4848
To check it quickly with the previous script use the `typer` command:
4949

0 commit comments

Comments
 (0)