query: allow querying extra info for package files
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
293762ea8b
commit
221905b5ae
1 changed files with 1 additions and 5 deletions
|
@ -306,12 +306,8 @@ 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);
|
||||
}
|
||||
}
|
||||
if(config->op_q_list) {
|
||||
dump_pkg_files(pkg, config->quiet);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue