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)
Wed, Sep 17, 11:13 PM
Unknown Object (File)
Tue, Sep 16, 12:28 AM
Unknown Object (File)
Mon, Sep 15, 9:36 PM
Unknown Object (File)
Sep 12 2025, 5:23 PM
Unknown Object (File)
Sep 11 2025, 5:17 PM
Unknown Object (File)
Sep 10 2025, 9:16 AM
Unknown Object (File)
Sep 7 2025, 10:42 AM
Unknown Object (File)
Sep 6 2025, 6:31 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