summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-09-18 09:38:34 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-09-18 09:38:34 +0000
commit312fc0948bfff348234c25806b96d5d18876fc46 (patch)
tree842a6a6eabd6dde79a51dc6611294bb6a4731f87 /usr.bin
parented125920bdcf6b3cae4cfc7c09b5f968c272dbc4 (diff)
- move `-d' to comparison options, rather then output options
- note (again) that output options are mutually exclusive from Andy Isaacson (PR 3479)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/diff/diff.112
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1
index cc17b63b3ad..7728263db89 100644
--- a/usr.bin/diff/diff.1
+++ b/usr.bin/diff/diff.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: diff.1,v 1.21 2003/09/07 18:50:58 jmc Exp $
+.\" $OpenBSD: diff.1,v 1.22 2003/09/18 09:38:33 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -84,7 +84,7 @@ and writes to the standard output the list of changes necessary to
convert one file into the other.
No output is produced if the files are identical.
.Pp
-Output options:
+Output options (mutually exclusive):
.Bl -tag -width Ds
.It Fl c
Produces a diff with 3 lines of context.
@@ -107,10 +107,6 @@ both files with
.Sq !\ \& .
Changes which lie within 3 lines of each other are grouped together on
output.
-.It Fl d
-Try very hard to produce a diff as small as possible.
-This may consume a lot of processing power and memory when processing
-large files with many changes.
.It Fl e
Produces output in a form suitable as input for the editor utility,
.Xr ed 1 ,
@@ -187,6 +183,10 @@ Treat all files as ASCII.
.It Fl b
Causes trailing blanks (spaces and tabs) to be ignored, and other
strings of blanks to compare equal.
+.It Fl d
+Try very hard to produce a diff as small as possible.
+This may consume a lot of processing power and memory when processing
+large files with many changes.
.It Fl i
Ignores the case of letters.
E.g.,