Skip to content

Commit

Permalink
Fix command argument default
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-torres committed Sep 30, 2024
1 parent c27c2a1 commit 2164cc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uvicorn/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
"--proxy-headers/--no-proxy-headers",
is_flag=True,
default=True,
help="Enable/Disable X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Port to " "populate remote address info.",
help="Enable/Disable X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Port to populate remote address info.",
)
@click.option(
"--server-header/--no-server-header",
Expand All @@ -248,8 +248,8 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
@click.option(
"--forwarded-port/--no-forwarded-port",
is_flag=True,
default=True,
help="Enable/Disable X-Forwarded-Port to " "populate remote address info.",
default=False,
help="Enable/Disable X-Forwarded-Port to populate remote address info.",
)
@click.option(
"--root-path",
Expand Down

0 comments on commit 2164cc5

Please sign in to comment.