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)
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
Unknown Object (File)
Oct 25 2025, 12:25 PM
Unknown Object (File)
Oct 18 2025, 5:38 PM
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