[Bug 233304] ports-mgmt/pkg info -q package doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 15 05:18:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233304

--- Comment #4 from freebsd at dreamchaser.org ---
> It works in combination with other switches:
>
> pkg info -qo firefox
> www/firefox

In that case, it *should* work by itself, as documented.

It seems rather bizarre behavior in terms of code to have it work in
combination with other flags with a filename argument, but not alone; yet work
alone with no filename argument.

It looks to me like the query_flags will be empty with only -q present, as it
is taken out with the "quiet" flag, and pkgdb_it_next probably does not return
EPKG_OK (about line 448 in info.c).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list