diff options
author | 2003-07-06 22:02:36 +0000 | |
---|---|---|
committer | 2003-07-06 22:02:36 +0000 | |
commit | aeb82612035e635c909e64ee78ff8209bfb3bf4a (patch) | |
tree | 5657e05479560713723d58644c28619a4cab42a8 /usr.bin/diff/diff.1 | |
parent | knf (cedric did not do it right) (diff) | |
download | wireguard-openbsd-aeb82612035e635c909e64ee78ff8209bfb3bf4a.tar.xz wireguard-openbsd-aeb82612035e635c909e64ee78ff8209bfb3bf4a.zip |
Implement -P from GNU diff (like -N but only for files that are missing
from dir1).
Diffstat (limited to 'usr.bin/diff/diff.1')
-rw-r--r-- | usr.bin/diff/diff.1 | 8 |
1 files changed, 7 insertions, 1 deletions
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 |