svn commit: r357841 - head/usr.bin/diff

Mateusz Piotrowski 0mp at FreeBSD.org
Wed Feb 12 20:06:42 UTC 2020


Author: 0mp (doc,ports committer)
Date: Wed Feb 12 20:06:41 2020
New Revision: 357841
URL: https://svnweb.freebsd.org/changeset/base/357841

Log:
  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

Modified:
  head/usr.bin/diff/diff.1

Modified: head/usr.bin/diff/diff.1
==============================================================================
--- head/usr.bin/diff/diff.1	Wed Feb 12 19:06:34 2020	(r357840)
+++ head/usr.bin/diff/diff.1	Wed Feb 12 20:06:41 2020	(r357841)
@@ -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


More information about the svn-src-all mailing list