diff.1: Fix style & document -y as extension to POSIX

- Long options must be stylized with the Fl macro as well.

Reviewed by:	bapt
Approved by:	bcr (mentor)
Differential Revision:	https://reviews.freebsd.org/D23642
This commit is contained in:
Mateusz Piotrowski 2020-02-12 20:06:41 +00:00
parent b30ab6d8fe
commit 469635f600

View File

@ -30,7 +30,7 @@
.\" @(#)diff.1 8.1 (Berkeley) 6/30/93
.\" $FreeBSD$
.\"
.Dd February 7, 2020
.Dd February 12, 2020
.Dt DIFF 1
.Os
.Sh NAME
@ -184,17 +184,17 @@
.Ar dir1 dir2
.Nm diff
.Op Fl aBbditwW
.Op --expand-tabs
.Op --ignore-all-blanks
.Op --ignore-blank-lines
.Op --ignore-case
.Op --minimal
.Op --no-ignore-file-name-case
.Op --strip-trailing-cr
.Op --suppress-common-lines
.Op --tabsize
.Op --text
.Op --width
.Op Fl -expand-tabs
.Op Fl -ignore-all-blanks
.Op Fl -ignore-blank-lines
.Op Fl -ignore-case
.Op Fl -minimal
.Op Fl -no-ignore-file-name-case
.Op Fl -strip-trailing-cr
.Op Fl -suppress-common-lines
.Op Fl -tabsize
.Op Fl -text
.Op Fl -width
.Fl y | Fl -side-by-side
.Ar file1 file2
.Sh DESCRIPTION
@ -637,7 +637,7 @@ utility is compliant with the
specification.
.Pp
The flags
.Op Fl aDdIiLlNnPpqSsTtwXx
.Op Fl aDdIiLlNnPpqSsTtwXxy
are extensions to that specification.
.Sh HISTORY
A