summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 10:48:01 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 10:48:01 +0000
commitf176c278062a21efaa5a681a8703963457c05e6d (patch)
tree9da4f48783c2e63c8d3488ac0eaadc529bb62c1d
parent7ee72ffe16557596f60b49b819661d2831d822a2 (diff)
downloadpw-darwin-f176c278062a21efaa5a681a8703963457c05e6d.tar.gz
pw-darwin-f176c278062a21efaa5a681a8703963457c05e6d.tar.zst
pw-darwin-f176c278062a21efaa5a681a8703963457c05e6d.zip
Clean up the synopsis section & fix mandoc warnings
The synopsis section had two very similar entries. The flags documented by the first one were a strict subset of the second one. Let's just keep only the second entry for simplicity. MFC after: 1 week
-rw-r--r--chpass/chpass.118
1 files changed, 6 insertions, 12 deletions
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index 78d5201..94112b8 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -28,7 +28,7 @@
.\" @(#)chpass.1 8.2 (Berkeley) 12/30/93
.\" $FreeBSD$
.\"
-.Dd December 30, 1993
+.Dd November 17, 2020
.Dt CHPASS 1
.Os
.Sh NAME
@@ -41,19 +41,13 @@
.Nd add or change user database information
.Sh SYNOPSIS
.Nm
+.Op Fl loy
.Op Fl a Ar list
-.Op Fl p Ar encpass
+.Op Fl d Ar domain
.Op Fl e Ar expiretime
-.Op Fl s Ar newshell
-.Op user
-.Nm
-.Op Fl oly
-.Op Fl a Ar list
+.Op Fl h Ar host
.Op Fl p Ar encpass
-.Op Fl e Ar expiretime
.Op Fl s Ar newshell
-.Op Fl d Ar domain
-.Op Fl h Ar host
.Op user
.Sh DESCRIPTION
The
@@ -216,7 +210,7 @@ Note that
.Xr finger 1
will display the office location and office phone together under the
heading
-.Ar Office: .
+.Ar Office\&: .
.Pp
The user's
.Ar home directory
@@ -313,7 +307,7 @@ changing other fields could be added, this would lead to
compatibility problems with other NIS-capable systems.
Even though the super-user may supply data for other fields
while editing an entry, the extra information (other than the
-password -- see below) will be silently discarded.
+password \(em see below) will be silently discarded.
.Pp
Exception: the super-user on the NIS master server is permitted to
change any field.