Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2020 17:48:34 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368518 - head/usr.bin/id
Message-ID:  <202012101748.0BAHmYhx097016@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012101748.0BAHmYhx097016>