summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/query.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index bd50b059..8814307c 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -324,6 +324,10 @@ static int display(alpm_pkg_t *pkg)
if(config->op_q_upgrade) {
alpm_pkg_t *newpkg = alpm_sync_newversion(pkg, alpm_get_syncdbs(config->handle));
printf(" -> %s%s%s", colstr->version, alpm_pkg_get_version(newpkg), colstr->nocolor);
+
+ if(alpm_pkg_should_ignore(config->handle, pkg)) {
+ printf(" %s", _("[ignored]"));
+ }
}
printf("\n");