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
F142019840: D50163.diff
Thu, Jan 15, 12:41 AM
Unknown Object (File)
Mon, Jan 12, 2:45 PM
Unknown Object (File)
Tue, Dec 30, 12:15 AM
Unknown Object (File)
Thu, Dec 25, 10:30 PM
Unknown Object (File)
Dec 14 2025, 10:35 AM
Unknown Object (File)
Dec 12 2025, 8:29 AM
Unknown Object (File)
Dec 11 2025, 5:11 PM
Unknown Object (File)
Nov 27 2025, 3:32 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