Page MenuHomeFreeBSD

su(1): Add -g flag
AcceptedPublic

Authored by fernape on Aug 1 2025, 4:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 3, 9:53 PM
Unknown Object (File)
Mon, Nov 3, 9:53 PM
Unknown Object (File)
Mon, Nov 3, 4:16 PM
Unknown Object (File)
Sat, Nov 1, 2:00 AM
Unknown Object (File)
Sat, Nov 1, 1:00 AM
Unknown Object (File)
Fri, Oct 31, 3:19 PM
Unknown Object (File)
Thu, Oct 30, 3:52 AM
Unknown Object (File)
Oct 22 2025, 2:17 PM

Details

Reviewers
0mp
bcr
carlavilla
Group Reviewers
manpages
Src Committers
Summary

As an alias to -c to avoid confusion with the flag provided by most shells.

This should avoid confusion when using two -c in one command.

While here improve the manual page a bit

Comes from: https://reviews.freebsd.org/D26941 done by @0mp

Test Plan

Apply patch.

Test commands from the EXAMPLES section.
mandoc -T lint clean.

Diff Detail

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

Event Timeline

fernape edited the test plan for this revision. (Show Details)
fernape added reviewers: 0mp, bcr, manpages, Src Committers.
fernape added a subscriber: 0mp.
carlavilla added a subscriber: carlavilla.

Ok for the doc side

This revision is now accepted and ready to land.Aug 1 2025, 10:20 PM