Skip to content

Commit

Permalink
Correct 'get_command' argument type error
Browse files Browse the repository at this point in the history
Closes: #101
  • Loading branch information
regisb authored Apr 19, 2022
1 parent d7ff221 commit 27df09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_click/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _format_epilog(ctx: click.Context) -> ty.Generator[str, None, None]:
def _get_lazyload_commands(ctx: click.Context) -> ty.Dict[str, click.Command]:
commands = {}
for command in ctx.command.list_commands(ctx):
commands[command] = ctx.command.get_command(ctx.command, command)
commands[command] = ctx.command.get_command(ctx, command)

return commands

Expand Down

0 comments on commit 27df09a

Please sign in to comment.