Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
algor512 opened this issue Nov 27, 2023 · 1 comment

Comments

@algor512
Copy link

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

@classabbyamp
Copy link
Member

classabbyamp commented Nov 27, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants