Created attachment 227982 [details] patch to usr.sbin/i2c/i2c.c to fix options handling In FreeBSD main at 08b9cc316a319fba95af8bb13b262fe0d5526ec3, the option handling of i2c is broken. Improve it. -- Martin
Looks ok. Sorry for messing that up.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=67bceb38f463d8a929c55efdcfcfefc9aedfeff6 commit 67bceb38f463d8a929c55efdcfcfefc9aedfeff6 Author: Martin Birgmeier <d8zNeCFG@aon.at> AuthorDate: 2021-10-07 05:20:56 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2021-10-07 05:56:20 +0000 i2c(8): fix option handling Recognize the '-o' option when processing command line arguments. Fixes: 9c10d00bf8cd ("i2c(8): Add interpreted mode for batch/scripted...") PR: 258572 usr.sbin/i2c/i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)