From 221905b5ae998dd578d346ebca8c2e35b1bb349c Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sun, 6 Feb 2022 10:30:38 -0800 Subject: [PATCH] query: allow querying extra info for package files Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/pacman/query.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pacman/query.c b/src/pacman/query.c index afcbbd4f..d75c4c80 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -306,11 +306,7 @@ static int display(alpm_pkg_t *pkg) int ret = 0; if(config->op_q_info) { - if(config->op_q_isfile) { - dump_pkg_full(pkg, 0); - } else { - dump_pkg_full(pkg, config->op_q_info > 1); - } + dump_pkg_full(pkg, config->op_q_info > 1); } if(config->op_q_list) { dump_pkg_files(pkg, config->quiet);