From 28f652190201516ef66dafa0af05b82e8d08ad39 Mon Sep 17 00:00:00 2001 From: Karel Blavka Date: Wed, 29 Jun 2022 08:45:20 +0200 Subject: [PATCH] Change command app fw show to app fw info --- src/hardwario/chester/cli/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardwario/chester/cli/app.py b/src/hardwario/chester/cli/app.py index 9f421da..12fa8a6 100644 --- a/src/hardwario/chester/cli/app.py +++ b/src/hardwario/chester/cli/app.py @@ -247,11 +247,11 @@ def command_fw_delete(ctx, id): click.echo('OK') -@cli_fw.command('show') +@cli_fw.command('info') @click.option('--id', metavar="ID", show_default=True, required=True) @click.pass_context -def command_fw_show(ctx, id): - '''Show firmware detail.''' +def command_fw_info(ctx, id): + '''Info firmware detail.''' fw = ctx.obj['fwapi'].detail(id) click.echo(f'Unique identifier: {fw["id"]}') click.echo(f'Label: {fw["label"]}')