summaryrefslogtreecommitdiffstats
path: root/usr.sbin/user/group.8
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-09-18 01:50:44 +0000
committermillert <millert@openbsd.org>2001-09-18 01:50:44 +0000
commit3c76c7c05dd5c92cf5c5bc1d8374aa8ae876de23 (patch)
treeb7646a09d781f1ce9b66226e6e639a575e014f63 /usr.sbin/user/group.8
parentmove ext2fs_init to where it belongs. (diff)
downloadwireguard-openbsd-3c76c7c05dd5c92cf5c5bc1d8374aa8ae876de23.tar.xz
wireguard-openbsd-3c76c7c05dd5c92cf5c5bc1d8374aa8ae876de23.zip
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