Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/id id(1) -p supports optional [user] arg;
details: https://anonhg.NetBSD.org/src/rev/1e79d2c0d93d
branches: trunk
changeset: 571348:1e79d2c0d93d
user: peter <peter%NetBSD.org@localhost>
date: Fri Nov 19 14:18:01 2004 +0000
description:
id(1) -p supports optional [user] arg;
from matthew clarke via OpenBSD
ok wiz@
diffstat:
usr.bin/id/id.1 | 3 ++-
usr.bin/id/id.c | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r 78b59f09f520 -r 1e79d2c0d93d usr.bin/id/id.1
--- a/usr.bin/id/id.1 Fri Nov 19 13:17:06 2004 +0000
+++ b/usr.bin/id/id.1 Fri Nov 19 14:18:01 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: id.1,v 1.11 2003/08/07 11:14:06 agc Exp $
+.\" $NetBSD: id.1,v 1.12 2004/11/19 14:18:01 peter Exp $
.\"
.\" Copyright (c) 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -49,6 +49,7 @@
.Op Ar user
.Nm
.Fl p
+.Op Ar user
.Nm
.Fl u Op Fl nr
.Op Ar user
diff -r 78b59f09f520 -r 1e79d2c0d93d usr.bin/id/id.c
--- a/usr.bin/id/id.c Fri Nov 19 13:17:06 2004 +0000
+++ b/usr.bin/id/id.c Fri Nov 19 14:18:01 2004 +0000
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)id.c 8.3 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: id.c,v 1.20 2003/10/21 02:17:45 fvdl Exp $");
+__RCSID("$NetBSD: id.c,v 1.21 2004/11/19 14:18:01 peter Exp $");
#endif
#endif /* not lint */
@@ -337,7 +337,7 @@
(void)fprintf(stderr, "usage: id [user]\n");
(void)fprintf(stderr, " id -G [-n] [user]\n");
(void)fprintf(stderr, " id -g [-nr] [user]\n");
- (void)fprintf(stderr, " id -p\n");
+ (void)fprintf(stderr, " id -p [user]\n");
(void)fprintf(stderr, " id -u [-nr] [user]\n");
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index