From 68747a12e4d127ea43ec65f1f830312a3e2a57ac Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Feb 2020 11:39:29 +0100 Subject: [PATCH] xbps-query: make -S (show mode) print all properties. run_depends was being skipped, but there's not any reason to skip this even if there's -x. Just print any property available in its pkgdb dictionary. --- bin/xbps-query/show-info-files.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bin/xbps-query/show-info-files.c b/bin/xbps-query/show-info-files.c index 147e9da3..9d681ff2 100644 --- a/bin/xbps-query/show-info-files.c +++ b/bin/xbps-query/show-info-files.c @@ -190,13 +190,6 @@ show_pkg_info(xbps_dictionary_t dict) keysym = xbps_array_get(all_keys, i); keyname = xbps_dictionary_keysym_cstring_nocopy(keysym); obj = xbps_dictionary_get_keysym(dict, keysym); - /* ignore objs shown by other targets */ - if ((strcmp(keyname, "run_depends") == 0) || - (strcmp(keyname, "files") == 0) || - (strcmp(keyname, "dirs") == 0) || - (strcmp(keyname, "links") == 0)) - continue; - /* anything else */ print_value_obj(keyname, obj, NULL, bold, reset, false); }