[Bug 269193] pw(8) usermod: numeric ID (uid) in lieu of name for option -n

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Sep 2026 08:03:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269193

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

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

commit fb144a705792dcc154ad2f75dfa21fbda255913d
Author:     Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-09-07 08:00:47 +0000
Commit:     Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-09-07 08:00:47 +0000

    pw(8): Brace the name-or-id synopsis so it matches the code

    An unbraced pipe list made -n look like it could take a uid (or gid).
    Use braces for a single choice of name or id, and keep -u newuid /
    -g newgid on the name invocation only. Drop the USER/GROUP OPTIONS
    sentences that said -n could be a numeric id.

    PR:     269193
    MFC after:      3 days
    Reviewed by:    bapt
    Differential Revision:  https://reviews.freebsd.org/D59472

 usr.sbin/pw/pw.8 | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.