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)
Wed, Dec 10, 9:10 PM
Unknown Object (File)
Tue, Dec 2, 3:58 PM
Unknown Object (File)
Nov 3 2025, 9:53 PM
Unknown Object (File)
Nov 3 2025, 9:53 PM
Unknown Object (File)
Nov 3 2025, 4:16 PM
Unknown Object (File)
Nov 1 2025, 2:00 AM
Unknown Object (File)
Nov 1 2025, 1:00 AM
Unknown Object (File)
Oct 31 2025, 3:19 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