Skip to content

Commit

Permalink
Change command app fw show to app fw info
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Jun 29, 2022
1 parent b692c52 commit 28f6521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hardwario/chester/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}')
Expand Down

0 comments on commit 28f6521

Please sign in to comment.