From aeb82612035e635c909e64ee78ff8209bfb3bf4a Mon Sep 17 00:00:00 2001 From: millert Date: Sun, 6 Jul 2003 22:02:36 +0000 Subject: Implement -P from GNU diff (like -N but only for files that are missing from dir1). --- usr.bin/diff/diff.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr.bin/diff/diff.1') diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1 index c555da5ddd0..4fb97ccb52b 100644 --- a/usr.bin/diff/diff.1 +++ b/usr.bin/diff/diff.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: diff.1,v 1.11 2003/07/06 20:48:59 millert Exp $ +.\" $OpenBSD: diff.1,v 1.12 2003/07/06 22:02:36 millert Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -204,6 +204,12 @@ Directory comparison options: .It Fl N If a file is found in only one directory, act as if it was found in the other directory too but was of zero size. +.It Fl P +If a file is found only in +.Ar dir2 , +act as if it was found in +.Ar dir1 +too but was of zero size. .It Fl r Causes application of .Nm -- cgit v1.2.3-59-g8ed1b