From f176c278062a21efaa5a681a8703963457c05e6d Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 17 Nov 2020 10:48:01 +0000 Subject: 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 --- chpass/chpass.1 | 18 ++++++------------ 1 file 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. -- cgit v1.2.3-56-ge451