summaryrefslogtreecommitdiff
path: root/usr.bin/id
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-05-30 15:29:54 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-05-30 15:29:54 +0000
commit39beb566d98aa08af1923b549b28847e1195ee1b (patch)
treefcbc65568e125028194e1d497cf01e23541e6d4c /usr.bin/id
parent2ba7f2365c1a2cb0cb389293b933f38b01a41586 (diff)
usage and order tweaks from jmc
Diffstat (limited to 'usr.bin/id')
-rw-r--r--usr.bin/id/id.16
-rw-r--r--usr.bin/id/id.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index 33a67154487..f05b4eaaca9 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: id.1,v 1.19 2017/05/30 15:07:01 tedu Exp $
+.\" $OpenBSD: id.1,v 1.20 2017/05/30 15:29:53 tedu Exp $
.\" $NetBSD: id.1,v 1.5 1995/09/28 08:05:40 perry Exp $
.\"
.\" Copyright (c) 1991, 1993, 1994
@@ -55,10 +55,10 @@
.Fl p
.Op Ar user
.Nm id
+.Fl R
+.Nm id
.Fl u Op Fl nr
.Op Ar user
-.Nm id
-.Fl R
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index e701cb7ae80..5109f64b074 100644
--- a/usr.bin/id/id.c
+++ b/usr.bin/id/id.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: id.c,v 1.27 2017/05/30 15:07:01 tedu Exp $ */
+/* $OpenBSD: id.c,v 1.28 2017/05/30 15:29:53 tedu Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -361,6 +361,7 @@ usage(void)
(void)fprintf(stderr, " id -G [-n] [user]\n");
(void)fprintf(stderr, " id -g [-nr] [user]\n");
(void)fprintf(stderr, " id -p [user]\n");
+ (void)fprintf(stderr, " id -R\n");
(void)fprintf(stderr, " id -u [-nr] [user]\n");
}
exit(1);