summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.1
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-07-06 22:17:21 +0000
committermillert <millert@openbsd.org>2003-07-06 22:17:21 +0000
commitcab5d83c9d6e6ab1ee51c5ad293daabd8930d5f9 (patch)
tree5b72060b1a052866dd3bc0c01135f6a5e66c1444 /usr.bin/diff/diff.1
parentprotos (diff)
downloadwireguard-openbsd-cab5d83c9d6e6ab1ee51c5ad293daabd8930d5f9.tar.xz
wireguard-openbsd-cab5d83c9d6e6ab1ee51c5ad293daabd8930d5f9.zip
Add -q option from GNU diff
Diffstat (limited to 'usr.bin/diff/diff.1')
-rw-r--r--usr.bin/diff/diff.115
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1
index 4fb97ccb52b..feb5d67efb1 100644
--- a/usr.bin/diff/diff.1
+++ b/usr.bin/diff/diff.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: diff.1,v 1.12 2003/07/06 22:02:36 millert Exp $
+.\" $OpenBSD: diff.1,v 1.13 2003/07/06 22:17:21 millert Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -37,26 +37,26 @@
.Nd differential file and directory comparator
.Sh SYNOPSIS
.Nm diff
-.Op Fl abitw
+.Op Fl abiqtw
.Oo
.Fl c | Fl e | Fl f |
.Fl n | Fl u
.Oc
.Ar file1 file2
.Nm diff
-.Op Fl abitw
+.Op Fl abiqtw
.Op Fl C Ar number
.Ar file1 file2
.Nm diff
-.Op Fl abitw
+.Op Fl abiqtw
.Op Fl D Ar string
.Ar file1 file2
.Nm diff
-.Op Fl abitw
+.Op Fl abiqtw
.Op Fl U Ar number
.Ar file1 file2
.Nm diff
-.Op Fl abiNtw
+.Op Fl abiNqtw
.Oo
.Fl c | Fl e | Fl f |
.Fl n | Fl u
@@ -129,6 +129,9 @@ but in the opposite order and with a count of changed lines on each
insert or delete command.
This is the form used by
.Xr rcsdiff 1 .
+.It Fl q
+Just print a line when the files differ.
+Does not output a list of changes.
.It Fl u
Produces a
.Em unified