aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-02-12 20:06:41 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-02-12 20:06:41 +0000
commit469635f600190be2bd0f95776196cb33d01c71bd (patch)
tree222d3cbb1e27d2a39da0a3dbc53135ad4bc11d29
parentb30ab6d8fea4029be012f4becdf0f5537957079f (diff)
downloadsrc-469635f600190be2bd0f95776196cb33d01c71bd.tar.gz
src-469635f600190be2bd0f95776196cb33d01c71bd.zip
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
Notes
Notes: svn path=/head/; revision=357841
-rw-r--r--usr.bin/diff/diff.126
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1
index 3dc2cb271eb6..47d55a4ddfc5 100644
--- a/usr.bin/diff/diff.1
+++ b/usr.bin/diff/diff.1
@@ -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