fix(python): fix crashing `trezorctl --version`

fixes #1702
pull/2352/head
matejcik 2 years ago
parent 3141f808dd
commit 63ab0711e2

@ -0,0 +1 @@
Fix `trezorctl --version` crash.

@ -170,7 +170,7 @@ def configure_logging(verbose: int) -> None:
help="Resume given session ID.",
default=os.environ.get("TREZOR_SESSION_ID"),
)
@click.version_option()
@click.version_option(package_name="trezor")
@click.pass_context
def cli_main(
ctx: click.Context,

Loading…
Cancel
Save