aboutsummaryrefslogtreecommitdiffstats
path: root/utils/findmisopt
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-25 04:07:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-25 04:07:06 +0000
commitba07a6922289d65690ce5f39301cd7e75c97d89e (patch)
tree593fcd18666d6fdfe2113c107a13758701cff39d /utils/findmisopt
parent2bae1f58edc9a2bae81d377fa648f66d21c1b62f (diff)
downloadexternal_llvm-ba07a6922289d65690ce5f39301cd7e75c97d89e.zip
external_llvm-ba07a6922289d65690ce5f39301cd7e75c97d89e.tar.gz
external_llvm-ba07a6922289d65690ce5f39301cd7e75c97d89e.tar.bz2
Only show the first few lines of difference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/findmisopt')
-rwxr-xr-xutils/findmisopt2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/findmisopt b/utils/findmisopt
index 3828c70..f8099a9 100755
--- a/utils/findmisopt
+++ b/utils/findmisopt
@@ -116,7 +116,7 @@ function tryit {
echo "Diff fails with these switches:"
echo $switches
echo "Differences:"
- diff "$out" "$optout"
+ diff "$out" "$optout" | head
return 0;
fi
fi