Skip to content

Commit

Permalink
Merge branch 'feature/doc_noargsishelp' of https://github.com/svlande…
Browse files Browse the repository at this point in the history
…g/typer into feature/doc_noargsishelp
  • Loading branch information
svlandeg committed Mar 18, 2024
2 parents f2c382f + 9ecde3d commit 2784991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Notice that the help text now shows the 2 commands: `create` and `delete`.

## Show the help message if no command is given

By default, we need to specify `--help` to get the command's help page.
By default, we need to specify `--help` to get the command's help page.

However, by setting `no_args_is_help=True` when defining the `typer.Typer()` application, the help function will be shown whenever no argument is given:

Expand Down

0 comments on commit 2784991

Please sign in to comment.