From 378e17768b6a1967584f9bc68e950f979ea30bbd Mon Sep 17 00:00:00 2001 From: tedu Date: Sat, 6 Sep 2003 05:25:22 +0000 Subject: restore undocumented -u# support for the old schoolers. :) noticed by itojun@, ok deraadt@ --- usr.bin/diff/diff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/diff/diff.c') diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index b2327734971..2ace748a852 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.38 2003/08/18 02:04:42 david Exp $ */ +/* $OpenBSD: diff.c,v 1.39 2003/09/06 05:25:22 tedu Exp $ */ /* * Copyright (c) 2003 Todd C. Miller @@ -21,7 +21,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: diff.c,v 1.38 2003/08/18 02:04:42 david Exp $"; +static const char rcsid[] = "$OpenBSD: diff.c,v 1.39 2003/09/06 05:25:22 tedu Exp $"; #endif /* not lint */ #include @@ -46,7 +46,7 @@ char *start, *ifdefname, *diffargs, *label; struct stat stb1, stb2; struct excludes *excludes_list; -#define OPTIONS "abC:cdD:efhiL:lnNPqrS:sTtU:uwX:x:" +#define OPTIONS "abC:c::dD:efhiL:lnNPqrS:sTtU:u::wX:x:" static struct option longopts[] = { { "text", no_argument, 0, 'a' }, { "ignore-space-change", no_argument, 0, 'b' }, -- cgit v1.2.3-59-g8ed1b