diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2012-12-11 06:34:35 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 12:35:34 +1000 |
commit | 95f566d98a5ee361c0a7aca234e152d4f4ded791 (patch) | |
tree | 9032c499a92162a34b27f7794478a7d6ef1c097e /src/pacman/package.c | |
parent | 53d610e0a5d39e544812c85d77a7049d6578c148 (diff) | |
download | 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>
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r-- | src/pacman/package.c | 1 |
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; |