index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/query.c | 7 |
diff --git a/src/pacman/query.c b/src/pacman/query.c index ed48799c..9ede00ab 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -280,7 +280,12 @@ static int filter(pmpkg_t *pkg) static void display(pmpkg_t *pkg) { if(config->op_q_info) { - dump_pkg_full(pkg, config->op_q_info); + if(config->op_q_isfile) { + /* omit info that isn't applicable for a file package */ + dump_pkg_full(pkg, 0); + } else { + dump_pkg_full(pkg, config->op_q_info); + } } if(config->op_q_list) { dump_pkg_files(pkg); |