Skip to content

Commit 8351fcb

Browse files
YuriiMotovCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a8d7421 commit 8351fcb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/fastapi_cli/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def dev(
303303
public_url: Annotated[
304304
str | None,
305305
typer.Option(
306-
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://{host}:{port}[/blue].",
306+
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://HOST:PORT[/blue] from [bold]--host[/bold] and [bold]--port[/bold].",
307307
envvar="FASTAPI_PUBLIC_URL",
308308
),
309309
] = None,
@@ -418,7 +418,7 @@ def run(
418418
public_url: Annotated[
419419
str | None,
420420
typer.Option(
421-
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://{host}:{port}[/blue].",
421+
help="The public URL where the server is accessible. Used for the URLs printed at startup. By default, the printed URLs use the configured host and port.",
422422
envvar="FASTAPI_PUBLIC_URL",
423423
),
424424
] = None,

0 commit comments

Comments
 (0)