diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-06-27 04:29:41 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-06-27 04:29:41 +0000 |
commit | dbb0c5c750b0620e2d8cabd5989405776473c704 (patch) | |
tree | b89bbe5b1da70f22392165fbe172561ec92f2051 /usr.bin/sdiff | |
parent | c990c983b4fcb848cab4e8be7d8e099a5f5e20fc (diff) |
Add missing undocumented --ignore-case flag, to improve compatibility
with GNU sdiff.
From Steven Kreuzer <skreuzer () exit2shell ! com>
Diffstat (limited to 'usr.bin/sdiff')
-rw-r--r-- | usr.bin/sdiff/sdiff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c index 991c2d65b8c..65fa95d32b6 100644 --- a/usr.bin/sdiff/sdiff.c +++ b/usr.bin/sdiff/sdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdiff.c,v 1.20 2006/09/19 05:52:23 otto Exp $ */ +/* $OpenBSD: sdiff.c,v 1.21 2007/06/27 04:29:40 ray Exp $ */ /* * Written by Raymond Lai <ray@cyth.net>. @@ -77,6 +77,7 @@ static struct option longopts[] = { { "diff-program", required_argument, NULL, 'F' }, { "speed-large-files", no_argument, NULL, 'H' }, { "ignore-matching-lines", required_argument, NULL, 'I' }, + { "ignore-case", no_argument, NULL, 'i' }, { "left-column", no_argument, NULL, 'l' }, { "output", required_argument, NULL, 'o' }, { "strip-trailing-cr", no_argument, NULL, 'S' }, |