Skip to content

Commit

Permalink
figured it out
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed Apr 11, 2024
1 parent 234c9eb commit 0f1b291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file removed foo.py
Empty file.
2 changes: 1 addition & 1 deletion src/rich_click/rich_help_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def rich_format_error(self: click.ClickException, formatter: RichHelpFormatter)
if getattr(self, "ctx", None) is not None:
if TYPE_CHECKING:
assert hasattr(self, "ctx")
self.ctx.get_usage()
self.ctx.command.get_usage(self.ctx, formatter)
if config.errors_suggestion:
formatter.write(
Padding(
Expand Down

0 comments on commit 0f1b291

Please sign in to comment.