Use "path" instead of "device" for logical devices

This commit is contained in:
Ivan Kravets
2017-12-27 16:02:36 +02:00
parent e29ecb47a5
commit 55d4fc23d0
4 changed files with 12 additions and 12 deletions

View File

@@ -70,8 +70,8 @@ def device_list( # pylint: disable=too-many-branches
if key == "logical":
for item in value:
click.secho(item['device'], fg="cyan")
click.echo("-" * len(item['device']))
click.secho(item['path'], fg="cyan")
click.echo("-" * len(item['path']))
click.echo("Name: %s" % item['name'])
click.echo("")