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:
parent
53d610e0a5
commit
95f566d98a
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ void dump_pkg_changelog(alpm_pkg_t *pkg)
|
||||||
alpm_pkg_get_name(pkg));
|
alpm_pkg_get_name(pkg));
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
fprintf(stdout, _("Changelog for %s:\n"), alpm_pkg_get_name(pkg));
|
||||||
/* allocate a buffer to get the changelog back in chunks */
|
/* allocate a buffer to get the changelog back in chunks */
|
||||||
char buf[CLBUF_SIZE];
|
char buf[CLBUF_SIZE];
|
||||||
size_t ret = 0;
|
size_t ret = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue