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.
This commit is contained in:
parent
bc9fab5ee8
commit
68747a12e4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user