summaryrefslogtreecommitdiff
path: root/usr.sbin/user/group.8
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-09-18 01:50:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-09-18 01:50:45 +0000
commit5f610acde4b50ae807a040567dbdc12bee43d3a0 (patch)
tree2a3b2af3056e165bfda5c579d05624e7867f5f5e /usr.sbin/user/group.8
parent7531bbfd9aa23c4fe2ae66af256603fcb5a9c810 (diff)
Sync with NetBSD plus the following changes:
o use LINE_MAX for the max password entry length. This is also what pwd_mkdb does. o add more checks for lines that are too long o kill some useless (and incorrect) casts o check snprintf() return vals for sanity before use o sync usage() with man pages o slight KNF o eliminate some silly uses of snprintf
Diffstat (limited to 'usr.sbin/user/group.8')
-rw-r--r--usr.sbin/user/group.814
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/user/group.8 b/usr.sbin/user/group.8
index 6c40c858072..a8dc4b87c19 100644
--- a/usr.sbin/user/group.8
+++ b/usr.sbin/user/group.8
@@ -1,6 +1,5 @@
-.\" $OpenBSD: group.8,v 1.8 2001/08/02 18:37:35 mpech Exp $ */
-.\" $NetBSD: group.8,v 1.4 2000/02/28 05:10:56 enami Exp $ */
-.\"
+.\" $OpenBSD: group.8,v 1.9 2001/09/18 01:50:44 millert Exp $
+.\" $NetBSD: group.8,v 1.5 2000/10/03 19:32:23 bjh21 Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
.\"
@@ -40,22 +39,19 @@
.Nd manage group information on the system
.Sh SYNOPSIS
.Nm group add
+.Op Fl ov
.Op Fl g Ar gid
-.Op Fl o
-.Op Fl v
.Ar group
.Nm group del
.Op Fl v
.Ar group
.Nm group info
-.Op Fl e
-.Op Fl v
+.Op Fl ev
.Ar group
.Nm group mod
+.Op Fl ov
.Op Fl g Ar gid
.Op Fl n Ar newname
-.Op Fl o
-.Op Fl v
.Ar group
.Sh DESCRIPTION
The