Properly document -P and -p flags.

This commit is contained in:
chris 1999-09-01 22:56:44 +00:00
parent a43235380a
commit 3b30ce3896
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);
}