From 2216710c99a829f1d1b0eaa78a7c11b540ac81af Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 24 Feb 2014 17:53:24 +0100 Subject: [PATCH 2/3] pkcon: print summary in get-details Now that we have it, include it toghether with the other details. https://bugs.freedesktop.org/show_bug.cgi?id=74620 --- client/pk-console.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/pk-console.c b/client/pk-console.c index 1bb5d60..8c931ab 100644 --- a/client/pk-console.c +++ b/client/pk-console.c @@ -520,6 +520,7 @@ pk_console_details_cb (PkDetails *item, gpointer data) gchar *license; gchar *description; gchar *url; + gchar *summary; PkGroupEnum group; guint64 size; @@ -529,6 +530,7 @@ pk_console_details_cb (PkDetails *item, gpointer data) "license", &license, "description", &description, "url", &url, + "summary", &summary, "group", &group, "size", &size, NULL); @@ -539,6 +541,7 @@ pk_console_details_cb (PkDetails *item, gpointer data) /* TRANSLATORS: This a list of details about the package */ g_print ("%s\n", _("Package description")); g_print (" package: %s\n", package); + g_print (" summary: %s\n", summary); g_print (" license: %s\n", license); g_print (" group: %s\n", pk_group_enum_to_string (group)); g_print (" description: %s\n", description); @@ -546,6 +549,7 @@ pk_console_details_cb (PkDetails *item, gpointer data) g_print (" url: %s\n", url); g_free (package_id); + g_free (summary); g_free (license); g_free (description); g_free (url); -- 1.8.5.3