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

@ -20,6 +20,7 @@ ROOTFS = FLASH_PARTS['ROOTFS']
@click.argument('what', type=click.Choice(list(FLASH_PARTS.values())))
@click.argument('location', required=False, type=click.Choice(LOCATIONS))
def cmd_flash(what, location):
"""Flash a partition onto a device"""
enforce_wrap()
device, flavour = get_device_and_flavour()
device_image_name = get_image_name(device, flavour)