Skip to content
Myr

🐛 Fix formatting in `NoSuchOption.format_message()` (#1843)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Foo Mun Leong · committed by GitHub · parent cff8106 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:typer/_click/exceptions.py+1 added-1 removed
195 unmodified lines
196 if not self.possibilities:197 return self.message198199 possibility_str = ", ".join(sorted(self.possibilities))200 suggest = (f"(Possible options: {possibility_str})",)200 suggest = f"(Possible options: {possibility_str})"201 return f"{self.message} {suggest}"202203204class BadOptionUsage(UsageError):
56 unmodified lines