maintainer-feedback requested: [Bug 287437] ports-mgmt/pkg: "pkg help query" says nothing about flavors
Date: Tue, 10 Jun 2025 23:15:32 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 287437: ports-mgmt/pkg: "pkg help query" says nothing about flavors https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287437 --- Description --- (The attached patch is to be placed as is in the ports-mgmt/pkg/files directory.) "pkg help query" presently has no mention of package flavors and how to determine them Anyone using the example from near the end of the "pkg help query" page, "pkg query -e '%#r = 0' %o", to get a complete list of top level packages to install on a system (let's say, when building a new system to replace an existing one) will be unpleasantly surprised to discover that "%o" has no mention of the package flavor. This patch explains the difference between %o and %n and suggests using %n to get a list of packages that includes flavors.