diff --git a/src/fastapi_cli/cli.py b/src/fastapi_cli/cli.py index 7764721..78e3bd9 100644 --- a/src/fastapi_cli/cli.py +++ b/src/fastapi_cli/cli.py @@ -14,7 +14,9 @@ from .logging import setup_logging from .utils.cli import get_rich_toolkit, get_uvicorn_log_config -app = typer.Typer(rich_markup_mode="rich") +app = typer.Typer( + rich_markup_mode="rich", context_settings={"help_option_names": ["-h", "--help"]} +) logger = logging.getLogger(__name__)