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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to