diff options
author | Richard Hughes <richard@hughsie.com> | 2012-11-05 10:34:01 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2012-11-05 10:34:01 +0000 |
commit | 0cbe4d108dec17529c0d32c99f3e5e3d1488ae14 (patch) | |
tree | 116797ec2f6e42688c50e1d1e54a360a5978a3bc /client | |
parent | 0fd9601b8e300b21767c79cb873ac9ab1001b740 (diff) | |
download | colord-0cbe4d108dec17529c0d32c99f3e5e3d1488ae14.tar.gz |
Improve the formatting of 'get-profiles' and 'get-devices'
Diffstat (limited to 'client')
-rw-r--r-- | client/cd-util.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/cd-util.c b/client/cd-util.c index 58c07e7..432de19 100644 --- a/client/cd-util.c +++ b/client/cd-util.c @@ -609,6 +609,8 @@ cd_util_get_devices (CdUtilPrivate *priv, gchar **values, GError **error) if (!ret) goto out; cd_util_show_device (device); + if (i != array->len - 1) + g_print ("\n"); } out: if (array != NULL) @@ -652,6 +654,8 @@ cd_util_get_devices_by_kind (CdUtilPrivate *priv, gchar **values, GError **error if (!ret) goto out; cd_util_show_device (device); + if (i != array->len - 1) + g_print ("\n"); } out: if (array != NULL) @@ -682,6 +686,8 @@ cd_util_get_profiles (CdUtilPrivate *priv, gchar **values, GError **error) if (!ret) goto out; cd_util_show_profile (profile); + if (i != array->len - 1) + g_print ("\n"); } out: if (array != NULL) @@ -719,6 +725,8 @@ cd_util_get_sensors (CdUtilPrivate *priv, gchar **values, GError **error) if (!ret) goto out; cd_util_show_sensor (sensor); + if (i != array->len - 1) + g_print ("\n"); } out: if (array != NULL) |