summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>1999-09-01 22:56:44 +0000
committerchris <chris@FreeBSD.org>1999-09-01 22:56:44 +0000
commit17831c333ce88be39b8657259ebbcd0a780e4d0a (patch)
tree2aa14bad59259c64eeab60fe13108c6f5bde31b4
parent066bdb9078955622a855d689b738d7659eb923bd (diff)
downloadFreeBSD-src-17831c333ce88be39b8657259ebbcd0a780e4d0a.zip
FreeBSD-src-17831c333ce88be39b8657259ebbcd0a780e4d0a.tar.gz
Properly document -P and -p flags.
-rw-r--r--usr.bin/id/id.11
-rw-r--r--usr.bin/id/id.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index de43f87..7205976 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -55,6 +55,7 @@
.Op Ar user
.Nm id
.Fl p
+.Op Ar user
.Nm id
.Fl u Op Fl nr
.Op Ar user
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index c609a0f..aa19f70 100644
--- a/usr.bin/id/id.c
+++ b/usr.bin/id/id.c
@@ -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);
}
OpenPOWER on IntegriCloud