Page MenuHomeFreeBSD

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

Authored by dteske on Mon, Sep 7, 3:11 AM.
Tags
None
Referenced Files
F171669418: D59472.id186098.diff
Sat, Sep 12, 1:49 PM
F171585756: D59472.diff
Fri, Sep 11, 10:27 PM
F171552773: D59472.id186098.diff
Fri, Sep 11, 5:36 PM
Unknown Object (File)
Fri, Sep 11, 12:22 PM
Unknown Object (File)
Thu, Sep 10, 6:18 PM
Unknown Object (File)
Thu, Sep 10, 5:33 PM
Unknown Object (File)
Thu, Sep 10, 2:37 PM
Unknown Object (File)
Thu, Sep 10, 10:16 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 Not Applicable
Unit
Tests Not Applicable