Date: Tue, 10 Jun 2025 23:15:32 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 287437] ports-mgmt/pkg: "pkg help query" says nothing about flavors Message-ID: <bug-287437-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287437-32340>
