diff --git a/typer/main.py b/typer/main.py index 133e47359f..a23c3c0f5d 100644 --- a/typer/main.py +++ b/typer/main.py @@ -498,7 +498,7 @@ def get_group_from_info( warnings.warn( "The 'callback' parameter is not supported by Typer when using `add_typer` without a name", - stacklevel=2, + stacklevel=5, ) solved_info = solve_typer_info_defaults(group_info) (