Properly document -P and -p flags.

This commit is contained in:
Chris Costello 1999-09-01 22:56:44 +00:00
parent 8ceb6dbdf7
commit f72286af57
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@
.Op Ar user
.Nm id
.Fl p
.Op Ar user
.Nm id
.Fl u Op Fl nr
.Op Ar user

View File

@ -348,10 +348,12 @@ pline(pw)
void
usage()
{
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
"usage: id [user]",
" id -G [-n] [user]",
" id -P [user]",
" id -g [-nr] [user]",
" id -p [user]",
" id -u [-nr] [user]");
exit(1);
}