Skip to content

Commit 6c0bee0

Browse files
authored
make sure the text is the same in both files
1 parent 52f81a8 commit 6c0bee0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ And that will:
222222
* Execute the `app()` itself, as if it was a function (instead of `typer.run`).
223223

224224

225-
>**Note on Single vs Multi-command mode**:
226-
> If your app only has one command, Typer will automatically enter "single-command mode", meaning the command name is **omitted** in usage (`python main.py Camila`).
227-
> However, once you define multiple commands, you must **explicitly include the command name** (`python main.py hello Camila`).
228-
> This behavior can be surprising — see [One or Multiple Commands](https://typer.tiangolo.com/tutorial/commands/one-or-multiple/) for more details.
225+
>**Note**:
226+
> If your app only has one command, the command name is **omitted** in usage: `python main.py Camila`.
227+
> However, when there are multiple commands, you must **explicitly include the command name**: `python main.py hello Camila`.
228+
> See [One or Multiple Commands](https://typer.tiangolo.com/tutorial/commands/one-or-multiple/) for more details.
229229
230230
### Run the upgraded example
231231

0 commit comments

Comments
 (0)