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
Unknown Object (File)
Sun, Feb 8, 6:30 AM
Unknown Object (File)
Sat, Feb 7, 9:41 PM
Unknown Object (File)
Fri, Jan 30, 7:44 PM
Unknown Object (File)
Mon, Jan 19, 1:10 AM
Unknown Object (File)
Sat, Jan 17, 1:26 PM
Unknown Object (File)
Thu, Jan 15, 12:41 AM
Unknown Object (File)
Mon, Jan 12, 2:45 PM
Unknown Object (File)
Dec 30 2025, 12:15 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