svn commit: r368518 - head/usr.bin/id

Fernando Apesteguía fernape at FreeBSD.org
Thu Dec 10 17:48:34 UTC 2020


Author: fernape (ports committer)
Date: Thu Dec 10 17:48:34 2020
New Revision: 368518
URL: https://svnweb.freebsd.org/changeset/base/368518

Log:
  groups(1): Add EXAMPLE
  
  Add a super simple example
  
  Approved by:	manpages (gbe@)
  Differential Revision:		https://reviews.freebsd.org/D27538

Modified:
  head/usr.bin/id/groups.1

Modified: head/usr.bin/id/groups.1
==============================================================================
--- head/usr.bin/id/groups.1	Thu Dec 10 17:48:30 2020	(r368517)
+++ head/usr.bin/id/groups.1	Thu Dec 10 17:48:34 2020	(r368518)
@@ -55,5 +55,11 @@ utility displays the groups to which you (or the optio
 belong.
 .Sh EXIT STATUS
 .Ex -std
+.Sh EXAMPLES
+Show groups the root user belongs to:
+.Bd -literal -offset indent
+$ groups root
+wheel operator
+.Ed
 .Sh SEE ALSO
 .Xr id 1


More information about the svn-src-head mailing list