Add help strings to all click CMDs

This commit is contained in:
InsanePrawn 2022-02-13 19:57:04 +01:00
parent feadf6f1e8
commit 3ed8d379dd
10 changed files with 31 additions and 4 deletions

View file

@ -18,7 +18,7 @@ TYPES = [LK2ND, JUMPDRIVE, ABOOT]
@click.command(name='boot')
@click.argument('type', required=False, default=ABOOT, type=click.Choice(TYPES))
def cmd_boot(type):
f"""Flash one of {', '.join(TYPES)}"""
"""Boot JumpDrive or the Kupfer aboot image. Erases Android DTBO in the process."""
enforce_wrap()
device, flavour = get_device_and_flavour()
# TODO: parse arch and sector size