Skip to content

Commit 3eca414

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent acca1d7 commit 3eca414

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ And that will:
221221
> However, once you define multiple commands, you must **explicitly include the command name** (`python main.py hello Camila`).
222222
=======
223223

224-
>**Note on Single vs Multi-command mode**:
225-
> 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`).
226-
> However, once you define multiple commands, you must **explicitly include the command name** (`python main.py hello Camila`).
224+
>**Note on Single vs Multi-command mode**:
225+
> 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`).
226+
> However, once you define multiple commands, you must **explicitly include the command name** (`python main.py hello Camila`).
227227
>>>>>>> f44fec0 (chore: Updated docs/index.md to include the note on single vs Multi-command mode in the readme file to avoid confusion for new users.)
228228
> This behavior can be surprising — see [One or Multiple Commands](https://typer.tiangolo.com/tutorial/commands/one-or-multiple/) for more details.
229229

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ 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`).
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`).
228228
> This behavior can be surprising — see [One or Multiple Commands](https://typer.tiangolo.com/tutorial/commands/one-or-multiple/) for more details.
229229
230230
### Run the upgraded example

0 commit comments

Comments
 (0)