Skip to content

Commit

Permalink
q-dev: prettier info output
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 14, 2024
1 parent 50fef48 commit 65f7311
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qubesadmin/tools/qvm_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,10 @@ def info_device(args):
"""
if args.device:
device = args.device
print(f'{device.device_id}:', device.description)
if device.data:
print("additional data:", device.data)
print(device.description)
print(f'device ID: {device.device_id}')
for key, value in device.data.items():
print(key, ":", value)


def init_list_parser(sub_parsers):
Expand Down

0 comments on commit 65f7311

Please sign in to comment.