From 68d860db670075187101f0bc43a53c69d331226a Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 30 May 2017 15:29:53 +0000 Subject: [PATCH] usage and order tweaks from jmc --- usr.bin/id/id.1 | 6 +++--- usr.bin/id/id.c | 3 ++- 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); -- 2.20.1