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
F163119283: D50163.id154860.diff
Mon, Jul 20, 6:01 AM
F163116063: D50163.id154860.diff
Mon, Jul 20, 5:11 AM
Unknown Object (File)
Sun, Jul 12, 7:48 PM
Unknown Object (File)
Thu, Jul 9, 4:16 AM
Unknown Object (File)
Tue, Jul 7, 11:14 AM
Unknown Object (File)
Sun, Jul 5, 12:08 AM
Unknown Object (File)
Sun, Jul 5, 12:08 AM
Unknown Object (File)
Sat, Jul 4, 12:22 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63888
Build 60772: arc lint + arc unit