[Bug 287437] ports-mgmt/pkg: "pkg help query" says nothing about flavors
Date: Tue, 10 Jun 2025 23:15:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287437
Bug ID: 287437
Summary: ports-mgmt/pkg: "pkg help query" says nothing about
flavors
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pkg@FreeBSD.org
Reporter: george@m5p.com
Assignee: pkg@FreeBSD.org
Flags: maintainer-feedback?(pkg@FreeBSD.org)
Created attachment 261164
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=261164&action=edit
Mention flavors with respect to %n and %o
(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.
--
You are receiving this mail because:
You are the assignee for the bug.