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
F140610013: D50163.id154860.diff
Thu, Dec 25, 10:30 PM
Unknown Object (File)
Sun, Dec 14, 10:35 AM
Unknown Object (File)
Fri, Dec 12, 8:29 AM
Unknown Object (File)
Thu, Dec 11, 5:11 PM
Unknown Object (File)
Thu, Nov 27, 3:32 PM
Unknown Object (File)
Wed, Nov 26, 12:33 PM
Unknown Object (File)
Oct 27 2025, 11:20 PM
Unknown Object (File)
Oct 26 2025, 5:23 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