[Bug 263188] pw accepts an "illegal option" but completes the command without error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Oct 2022 10:08:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263188

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=c0358afd5bbc2c675941fed2905479ad109770bb

commit c0358afd5bbc2c675941fed2905479ad109770bb
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-10-12 10:06:32 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-10-12 10:06:32 +0000

    pw: exit with an error in case of using an illegal option

    PR:             263188
    Reported by:    Dennis Clarke <dclarke@blastwave.org>
    MFC After:      1 week

 usr.sbin/pw/pw_group.c | 10 ++++++++++
 usr.sbin/pw/pw_user.c  | 14 ++++++++++++++
 2 files changed, 24 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.