1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-05 15:48:45 +00:00

chore(python): update cli docs for reboot-to-bootloader command

This commit is contained in:
Vadim Anufriev 2025-03-17 00:07:39 +04:00 committed by matejcik
parent 2f97b61870
commit 40d8760666

View File

@ -310,10 +310,7 @@ def sd_protect(
@cli.command() @cli.command()
@click.pass_obj @click.pass_obj
def reboot_to_bootloader(obj: "TrezorConnection") -> None: def reboot_to_bootloader(obj: "TrezorConnection") -> None:
"""Reboot device into bootloader mode. """Reboot device into bootloader mode."""
Currently only supported on Trezor Model One.
"""
# avoid using @with_client because it closes the session afterwards, # avoid using @with_client because it closes the session afterwards,
# which triggers double prompt on device # which triggers double prompt on device
with obj.client_context() as client: with obj.client_context() as client: