Implement -G support for id(1)

This commit is contained in:
sin
2013-12-01 17:29:20 +00:00
parent d453be2ae1
commit 5534e60703
2 changed files with 43 additions and 5 deletions

6
id.1
View File

@@ -3,10 +3,16 @@
id \- print real and effective user and group IDs
.SH SYNOPSIS
.B id
.RB [ -G ]
.RB [ user | uid ]
.SH DESCRIPTION
Print user and group information of the calling process to standard output.
If a login name or uid is specified, the user and group information of that
user is displayed.
.SH OPTIONS
.TP
.B \-G
Display group information as whitespace separated numbers, in no particular
order.
.SH SEE ALSO
.IR who(1)