diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2011-04-17 20:32:34 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2011-04-17 20:32:34 +0000 |
commit | 8d50c062d709c88b592f70eb420b52a956f86703 (patch) | |
tree | d8c90cbbfdba6ee31216e233905601585e13695b /usr.sbin | |
parent | 152fb505e4fc875ee9e9bee9b7bc7daf5d692b91 (diff) |
improve line breaking in the SYNOPSIS section.
as noted by schwarze@, the semantics of the .Bk macro is slightly
different now to conform with modern groff releases; using a
command-line option (.Op) macro, instead of its multiline version,
while preserving the .Bk/.Ek block makes our manual pages compatible
with mandoc, new groff and even groff-1.15.
ok jmc@, schwarze@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/user/useradd.8 | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/usr.sbin/user/useradd.8 b/usr.sbin/user/useradd.8 index 8c136528266..5e36d839231 100644 --- a/usr.sbin/user/useradd.8 +++ b/usr.sbin/user/useradd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: useradd.8,v 1.28 2010/09/03 11:22:36 jmc Exp $ +.\" $OpenBSD: useradd.8,v 1.29 2011/04/17 20:32:33 sobrado Exp $ .\" $NetBSD: useradd.8,v 1.26 2003/02/25 10:36: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: September 3 2010 $ +.Dd $Mdocdate: April 17 2011 $ .Dt USERADD 8 .Os .Sh NAME @@ -44,13 +44,10 @@ .Op Fl b Ar base-directory .Op Fl e Ar expiry-time .Op Fl f Ar inactive-time -.Oo -.Fl g Ar gid | name | Li =uid Oc +.Op Fl g Ar gid | name | Li =uid .Op Fl k Ar skel-directory .Op Fl L Ar login-class -.Oo -.Fl r Ar low Ns Li .. Ns Ar high -.Oc +.Op Fl r Ar low Ns Li .. Ns Ar high .Op Fl s Ar shell .Ek .Nm useradd @@ -62,14 +59,11 @@ .Op Fl e Ar expiry-time .Op Fl f Ar inactive-time .Op Fl G Ar secondary-group[,group,...] -.Oo -.Fl g Ar gid | name | Li =uid Oc +.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 -.Oo -.Fl r Ar low Ns Li .. Ns Ar high -.Oc +.Op Fl r Ar low Ns Li .. Ns Ar high .Op Fl s Ar shell .Op Fl u Ar uid .Ar user |