From 9de32c1b16a474659d7d2e1ce129916fb601409c Mon Sep 17 00:00:00 2001 From: millert Date: Wed, 25 Jun 2003 22:14:43 +0000 Subject: Add unidiff support and try to pretty up usage() a bit --- usr.bin/diff/diffdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/diff/diffdir.c') diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c index 8c524b98bb4..d34638f1853 100644 --- a/usr.bin/diff/diffdir.c +++ b/usr.bin/diff/diffdir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffdir.c,v 1.12 2003/06/25 21:43:49 millert Exp $ */ +/* $OpenBSD: diffdir.c,v 1.13 2003/06/25 22:14:43 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -338,7 +338,7 @@ notsame: if (!ascii(f1) || !ascii(f2)) { if (lflag) dp->d_flags |= DIFFER; - else if (opt == D_NORMAL || opt == D_CONTEXT) + else if (opt == D_NORMAL || opt == D_CONTEXT || opt == D_UNIFIED) printf("Binary files %s and %s differ\n", file1, file2); goto closem; -- cgit v1.2.3-59-g8ed1b