summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-09-06 05:25:22 +0000
committertedu <tedu@openbsd.org>2003-09-06 05:25:22 +0000
commit378e17768b6a1967584f9bc68e950f979ea30bbd (patch)
tree9e23afb85e851715941a9eef37468873e2a325ab /usr.bin/diff/diff.c
parentzap ?; jeffi@rcn.com (diff)
downloadwireguard-openbsd-378e17768b6a1967584f9bc68e950f979ea30bbd.tar.xz
wireguard-openbsd-378e17768b6a1967584f9bc68e950f979ea30bbd.zip
restore undocumented -u# support for the old schoolers. :)
noticed by itojun@, ok deraadt@
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c6
1 files changed, 3 insertions, 3 deletions
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 <Todd.Miller@courtesan.com>
@@ -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 <sys/param.h>
@@ -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' },