summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2012-12-11 12:34:35 +0100
committerAllan McRae <allan@archlinux.org>2012-12-14 03:35:34 +0100
commit95f566d98a5ee361c0a7aca234e152d4f4ded791 (patch)
tree9032c499a92162a34b27f7794478a7d6ef1c097e
parent53d610e0a5d39e544812c85d77a7049d6578c148 (diff)
downloadpacman-95f566d98a5ee361c0a7aca234e152d4f4ded791.tar.gz
pacman-95f566d98a5ee361c0a7aca234e152d4f4ded791.tar.xz
Print package name before changelog entry with -Qc
Fixes FS#32362 Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/package.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index a8f322cc..31211f5d 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -325,6 +325,7 @@ void dump_pkg_changelog(alpm_pkg_t *pkg)
alpm_pkg_get_name(pkg));
return;
} else {
+ fprintf(stdout, _("Changelog for %s:\n"), alpm_pkg_get_name(pkg));
/* allocate a buffer to get the changelog back in chunks */
char buf[CLBUF_SIZE];
size_t ret = 0;