summaryrefslogtreecommitdiff
path: root/lib-src/vcdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1993-06-30 18:54:08 +0000
committerPaul Eggert <eggert@twinsun.com>1993-06-30 18:54:08 +0000
commit1294647644e1f230c5977086cffc0952965dbe29 (patch)
treecad83c5b3a092b46448ba0b2048c0d4f8b9ec207 /lib-src/vcdiff
parent88a64fef30d6b05afa8d433629254baffe0ff3e6 (diff)
downloademacs-1294647644e1f230c5977086cffc0952965dbe29.tar.gz
Add -q option.
Diffstat (limited to 'lib-src/vcdiff')
-rwxr-xr-xlib-src/vcdiff9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib-src/vcdiff b/lib-src/vcdiff
index 2dd48650d1e..ff3280206f9 100755
--- a/lib-src/vcdiff
+++ b/lib-src/vcdiff
@@ -3,12 +3,13 @@
# Enhanced sccs diff utility for use with vc mode.
# This version is more compatible with rcsdiff(1).
#
-# $Id: vcdiff,v 1.2 1992/06/03 04:56:26 eric Exp $
+# $Id: vcdiff,v 1.1 1992/08/04 16:08:22 eric Exp eggert $
#
DIFF="diff"
-usage="$0: Usage: vcdiff [-r<sid1>] [-r<sid2>] [diffopts] sccsfile..."
+usage="$0: Usage: vcdiff [-q] [-r<sid1>] [-r<sid2>] [diffopts] sccsfile..."
+echo=
sid1=-r sid2=
for f
@@ -16,6 +17,8 @@ do
case $f in
-*)
case $f in
+ -q)
+ echo=:;;
-r?*)
case $sid1 in
-r)
@@ -71,7 +74,7 @@ do
workfile=$rev2
esac
then
- echo $DIFF $options $sid1 $sid2 $workfile >&2
+ $echo $DIFF $options $sid1 $sid2 $workfile >&2
$DIFF $options $rev1 $workfile
s=$?
fi