From 9ecde3d42ff50164b7919993c2ebb8d81cef1909 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:03:01 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/commands/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/commands/index.md b/docs/tutorial/commands/index.md index 58a2bbc57..1afc7dd1e 100644 --- a/docs/tutorial/commands/index.md +++ b/docs/tutorial/commands/index.md @@ -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: