xbps icon indicating copy to clipboard operation
xbps copied to clipboard

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

Open algor512 opened this issue 2 years ago • 1 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

algor512 avatar Nov 27 '23 19:11 algor512

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

https://github.com/void-linux/xbps/blob/b75e151c629b336e8a8b78e2314436b93528d16c/bin/xbps-query/search.c#L134-L135

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

classabbyamp avatar Nov 27 '23 20:11 classabbyamp