Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 May 2025 22:13:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 286510] pkgbase: make update-packages regressed after base be61deae0aa2
Message-ID:  <bug-286510-32340-sW1drXYFG5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286510-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

rkoberman@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkoberman@gmail.com

--- Comment #1 from rkoberman@gmail.com ---
This problem is in hte revised parsing of the command line. It appears to nr
reflect any functional change, but does result in a bogus error message for
each option on the command line that is not processed by the base option of
pkg. In other words, any command processed by a sub-command such as version or
info,

While the options are reported as invalid, they are passed to the subcommand
and properly executed.

A workaround is to alias "pkg" to "/usr/local/sbin/pkg", but this is clearly
not ideal.
# pkg version -vL=
pkg: invalid option -- v
pkg: invalid option -- L
pkg: invalid option -- =
libreoffice-25.2.2.2_1             <   needs updating (index has 25.2.3.2)
# alias pkg /usr/local/sbin/pkg
# pkg version -vL=
libreoffice-25.2.2.2_1             <   needs updating (index has 25.2.3.2)

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286510-32340-sW1drXYFG5>