Skip to content

Commit

Permalink
Merge pull request #230 from jeromecoutant/PR_INTERFACE
Browse files Browse the repository at this point in the history
mbedls console print: replace 'daplink_version' by 'interface_version'
  • Loading branch information
rwalton-arm authored Jun 8, 2020
2 parents d8e8828 + 0480571 commit c960314
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mbed-ls/mbed_lstools/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def print_mbeds(mbeds, args, simple):
from prettytable import PrettyTable, HEADER
columns = ['platform_name', 'platform_name_unique', 'mount_point',
'serial_port', 'target_id', 'daplink_version']
pt = PrettyTable(columns, junction_char="|", hrules=HEADER)
columns_header = ['platform_name', 'platform_name_unique', 'mount_point',
'serial_port', 'target_id', 'interface_version']
pt = PrettyTable(columns_header, junction_char="|", hrules=HEADER)
pt.align = 'l'
for d in devices:
pt.add_row([d.get(col, None) or 'unknown' for col in columns])
Expand Down

0 comments on commit c960314

Please sign in to comment.