From cdcd6a2423b2b7100c593c68c7b03dac7ffa33f0 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 18 Oct 2018 16:13:28 +0100 Subject: [PATCH] trivial: Add VersionFormat to the fu_device_to_string() output --- src/fu-device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fu-device.c b/src/fu-device.c index b03dbfb9a..e998fdf95 100644 --- a/src/fu-device.c +++ b/src/fu-device.c @@ -1477,6 +1477,10 @@ fu_device_to_string (FuDevice *self) tmp = fwupd_device_to_string (FWUPD_DEVICE (self)); if (tmp != NULL && tmp[0] != '\0') g_string_append (str, tmp); + if (priv->version_format != FU_VERSION_FORMAT_UNKNOWN) { + fwupd_pad_kv_str (str, "VersionFormat", + fu_common_version_format_to_string (priv->version_format)); + } if (priv->alternate_id != NULL) fwupd_pad_kv_str (str, "AlternateId", priv->alternate_id); if (priv->equivalent_id != NULL)