Page MenuHomeFreeBSD

pkg: suppress error on unknown options
ClosedPublic

Authored by ifreund_freebsdfoundation.org on May 5 2025, 8:04 AM.
Tags
None
Referenced Files
F166957922: D50163.id154860.diff
Tue, Aug 18, 3:39 AM
Unknown Object (File)
Fri, Aug 7, 2:41 PM
Unknown Object (File)
Thu, Aug 6, 8:19 AM
Unknown Object (File)
Thu, Aug 6, 2:30 AM
Unknown Object (File)
Wed, Aug 5, 3:28 AM
Unknown Object (File)
Mon, Jul 27, 11:00 PM
Unknown Object (File)
Sat, Jul 25, 2:59 AM
Unknown Object (File)
Fri, Jul 24, 2:20 AM
Subscribers

Details

Summary

pkg(7) does not understand all the options that pkg(8) understands and
should never log errors about unknown options that it will pass on to
pkg(8) without touching.

PR: 286510
Fixes: be61deae0aa2 ("pkg: clarify argument parsing")
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable