void-linux / xbps

The X Binary Package System (XBPS)

Home Page:https://voidlinux.org/xbps/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xbps-query: xbps-query -p installed_size,install-date -s '' shows nothing

algor512 opened this issue · comments

The command xbps-query -p installed_size,install-date -s '' shows nothing, while both xbps-query -p installed_size -s '' and xbps-query -p install-date -s '' work as expected.

xbps-query's man page says about flag -p that Multiple properties can be specified by delimiting them with commas..

xbps-query --version: XBPS: 0.59.1 API: 20200221 GIT: UNSET

looks like -p only supports multiple properties for show, not search

/* prop set, match on prop object instead */
obj2 = xbps_dictionary_get(obj, sd->prop);

It could be changed by adding something that splits at commas before doing that lookup