summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 7b54cba2..e8da3460 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -522,8 +522,10 @@ static int sync_list(alpm_list_t *syncs, alpm_list_t *targets)
alpm_pkg_t *pkg = j->data;
if(!config->quiet) {
- printf("%s %s %s", alpm_db_get_name(db), alpm_pkg_get_name(pkg),
- alpm_pkg_get_version(pkg));
+ const colstr_t *colstr = &config->colstr;
+ printf("%s%s %s%s %s%s%s", colstr->repo, alpm_db_get_name(db),
+ colstr->title, alpm_pkg_get_name(pkg),
+ colstr->version, alpm_pkg_get_version(pkg), colstr->nocolor);
print_installed(db_local, pkg);
printf("\n");
} else {