mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-15 21:35:16 +00:00
trivial: Print the device name in the dfu-tool list output
This commit is contained in:
parent
662a2d53fb
commit
c0804c5bfb
@ -1857,6 +1857,12 @@ dfu_tool_list (DfuToolPrivate *priv, gchar **values, GError **error)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tmp = dfu_device_get_display_name (device);
|
||||||
|
if (tmp != NULL) {
|
||||||
|
/* TRANSLATORS: device name, e.g. 'ColorHug2' */
|
||||||
|
dfu_tool_print_indent (_("Name"), tmp, 1);
|
||||||
|
}
|
||||||
|
|
||||||
tmp = dfu_mode_to_string (dfu_device_get_mode (device));
|
tmp = dfu_mode_to_string (dfu_device_get_mode (device));
|
||||||
/* TRANSLATORS: device mode, e.g. runtime or DFU */
|
/* TRANSLATORS: device mode, e.g. runtime or DFU */
|
||||||
dfu_tool_print_indent (_("Mode"), tmp, 1);
|
dfu_tool_print_indent (_("Mode"), tmp, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user