From 7bdb251ca794d7fa0900fc962cba0bd9ae2ce98d Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 9 Dec 2004 18:56:10 +0000 Subject: If the -L option is specified twice, use it for the second filename like GNU diff does. Adapted from a diff by YAMAMOTO Takashi --- usr.bin/diff/diff.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/diff/diff.1') diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1 index 48668dfd229..b14ca7d5519 100644 --- a/usr.bin/diff/diff.1 +++ b/usr.bin/diff/diff.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: diff.1,v 1.26 2004/06/20 18:47:45 otto Exp $ +.\" $OpenBSD: diff.1,v 1.27 2004/12/09 18:56:10 millert Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -223,7 +223,8 @@ after all text file differences are reported. .It Fl L Ar label Print .Ar label -instead of the first file name and time in the context or unified diff header. +instead of the first (and second, if this option is specified twice) +file name and time in the context or unified diff header. .It Fl p With unified and context diffs, show with each change the first 40 characters of the last line before the context beginning -- cgit v1.2.3-59-g8ed1b