summaryrefslogtreecommitdiff
path: root/usr.sbin/user/user.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-07-18 23:01:11 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-07-18 23:01:11 +0000
commit12f6911ae09d83f2aece62c69ffb94651440b926 (patch)
tree34809ee8df09399860504566e734e60ae06fbfae /usr.sbin/user/user.8
parenta0f4528ffa1718e413f38c92be5f6eb7cff10660 (diff)
Sync user(8) SYNOPSIS to useradd(8) and userinfo(8)
as suggested by Glen Anderson <g dot s dot anderson at gmail dot com>; while here, add a few missing "[,group,...]", do not lump punctuation into .Ar, and drop useless .Li from "..". OK jmc@
Diffstat (limited to 'usr.sbin/user/user.8')
-rw-r--r--usr.sbin/user/user.816
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/user/user.8 b/usr.sbin/user/user.8
index 0aee8f184fd..f81db4623b9 100644
--- a/usr.sbin/user/user.8
+++ b/usr.sbin/user/user.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: user.8,v 1.19 2011/04/16 07:26:12 sobrado Exp $
+.\" $OpenBSD: user.8,v 1.20 2011/07/18 23:01:10 schwarze Exp $
.\" $NetBSD: user.8,v 1.9 2001/06/05 11:31:21 wiz Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: April 16 2011 $
+.Dd $Mdocdate: July 18 2011 $
.Dt USER 8
.Os
.Sh NAME
@@ -46,8 +46,10 @@
.Op Fl e Ar expiry-time
.Op Fl f Ar inactive-time
.Op Fl g Ar gid | name | Li =uid
+.Op Fl k Ar skel-directory
.Op Fl L Ar login-class
-.Op Fl r Ar low..high
+.Op Fl r Ar low Ns .. Ns Ar high
+.Op Fl s Ar shell
.Ek
.Nm user
.Bk -words
@@ -58,12 +60,12 @@
.Op Fl d Ar home-directory
.Op Fl e Ar expiry-time
.Op Fl f Ar inactive-time
-.Op Fl G Ar secondary-group
+.Op Fl G Ar secondary-group Ns Op , Ns Ar group , Ns ...
.Op Fl g Ar gid | name | Li =uid
.Op Fl k Ar skel-directory
.Op Fl L Ar login-class
.Op Fl p Ar password
-.Op Fl r Ar low..high
+.Op Fl r Ar low Ns .. Ns Ar high
.Op Fl s Ar shell
.Op Fl u Ar uid
.Ar user
@@ -78,7 +80,7 @@
.Ar user
.Nm user
.Cm info
-.Op Fl ev
+.Op Fl e
.Ar user
.Nm user
.Bk -words
@@ -88,7 +90,7 @@
.Op Fl d Ar home-directory
.Op Fl e Ar expiry-time
.Op Fl f Ar inactive-time
-.Op Fl G Ar secondary-group
+.Op Fl G Ar secondary-group Ns Op , Ns Ar group , Ns ...
.Op Fl g Ar gid | name | Li =uid
.Op Fl L Ar login-class
.Op Fl l Ar new-login