Page MenuHomeFreeBSD

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

Authored by dteske on Sep 7 2026, 3:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 4:54 PM
Unknown Object (File)
Sun, Oct 4, 5:25 PM
Unknown Object (File)
Thu, Oct 1, 10:30 AM
Unknown Object (File)
Thu, Oct 1, 1:00 AM
Unknown Object (File)
Tue, Sep 29, 6:17 PM
Unknown Object (File)
Sun, Sep 27, 12:32 PM
Unknown Object (File)
Sun, Sep 27, 12:06 PM
Unknown Object (File)
Sun, Sep 27, 9:48 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76622
Build 73505: arc lint + arc unit