diff --git a/python/.changelog.d/1702.fixed b/python/.changelog.d/1702.fixed new file mode 100644 index 000000000..aa5cbfe5d --- /dev/null +++ b/python/.changelog.d/1702.fixed @@ -0,0 +1 @@ +Fix `trezorctl --version` crash. diff --git a/python/src/trezorlib/cli/trezorctl.py b/python/src/trezorlib/cli/trezorctl.py index 1e331194a..5dc673433 100755 --- a/python/src/trezorlib/cli/trezorctl.py +++ b/python/src/trezorlib/cli/trezorctl.py @@ -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,