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>
This commit is contained in:
Simon Gomizelj 2012-12-11 06:34:35 -05:00 committed by Allan McRae
parent 53d610e0a5
commit 95f566d98a
1 changed files with 1 additions and 0 deletions

View File

@ -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;