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:
parent
2f97b61870
commit
40d8760666
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user