Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/user Use standard EXIT STATUS section.
details: https://anonhg.NetBSD.org/src/rev/0b0e64c4b564
branches: trunk
changeset: 584134:0b0e64c4b564
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Sep 09 21:31:00 2005 +0000
description:
Use standard EXIT STATUS section.
Reformulate slightly to match other man pages. Bump date.
diffstat:
usr.sbin/user/userinfo.8 | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diffs (47 lines):
diff -r 2da200909c22 -r 0b0e64c4b564 usr.sbin/user/userinfo.8
--- a/usr.sbin/user/userinfo.8 Fri Sep 09 21:30:31 2005 +0000
+++ b/usr.sbin/user/userinfo.8 Fri Sep 09 21:31:00 2005 +0000
@@ -1,5 +1,4 @@
-.\" $NetBSD: userinfo.8,v 1.9 2005/02/05 15:28:46 wiz Exp $ */
-.\"
+.\" $NetBSD: userinfo.8,v 1.10 2005/09/09 21:31:00 wiz Exp $ */
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
.\"
@@ -31,7 +30,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd November 30, 1999
+.Dd September 9, 2005
.Dt USERINFO 8
.Os
.Sh NAME
@@ -49,23 +48,21 @@
The following command line options are recognised:
.Bl -tag -width Ds
.It Fl e
-return 0 if the user exists, and non-zero if the
+Return 0 if the user exists, and non-zero if the
user does not exist, on the system.
No information is displayed.
This form of the command is useful for
scripts which need to check whether a particular user
name or uid is already in use on the system.
.It Fl v
-perform any actions in a verbose manner.
+Perform any actions in a verbose manner.
.El
.Pp
The
.Ar user
argument may either be a user's name, or a uid.
-.Pp
-The
-.Nm
-utility exits 0 if the user name or uid exists, and non-zero if it does not.
+.Sh EXIT STATUS
+.Ex -std userinfo
.Sh FILES
.Bl -tag -width /etc/usermgmt.conf -compact
.It Pa /etc/usermgmt.conf
Home |
Main Index |
Thread Index |
Old Index