=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diff.1,v retrieving revision 1.22 retrieving revision 1.23 diff -c -r1.22 -r1.23 *** src/usr.bin/diff/diff.1 2003/09/18 09:38:33 1.22 --- src/usr.bin/diff/diff.1 2004/01/07 17:19:05 1.23 *************** *** 1,4 **** ! .\" $OpenBSD: diff.1,v 1.22 2003/09/18 09:38:33 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: diff.1,v 1.23 2004/01/07 17:19:05 otto Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 37,43 **** .Nd differential file and directory comparator .Sh SYNOPSIS .Nm diff ! .Op Fl abdilqtTw .Oo .Fl c | Fl e | Fl f | .Fl n | Fl u --- 37,43 ---- .Nd differential file and directory comparator .Sh SYNOPSIS .Nm diff ! .Op Fl abdilpqtTw .Oo .Fl c | Fl e | Fl f | .Fl n | Fl u *************** *** 45,51 **** .Op Fl L Ar label .Ar file1 file2 .Nm diff ! .Op Fl abdilqtTw .Op Fl L Ar label .Fl C Ar number .Ar file1 file2 --- 45,51 ---- .Op Fl L Ar label .Ar file1 file2 .Nm diff ! .Op Fl abdilpqtTw .Op Fl L Ar label .Fl C Ar number .Ar file1 file2 *************** *** 54,65 **** .Fl D Ar string .Ar file1 file2 .Nm diff ! .Op Fl abdilqtTw .Op Fl L Ar label .Fl U Ar number .Ar file1 file2 .Nm diff ! .Op Fl abdilNPqtTw .Oo .Fl c | Fl e | Fl f | .Fl n | Fl u --- 54,65 ---- .Fl D Ar string .Ar file1 file2 .Nm diff ! .Op Fl abdilpqtTw .Op Fl L Ar label .Fl U Ar number .Ar file1 file2 .Nm diff ! .Op Fl abdilNPpqtTw .Oo .Fl c | Fl e | Fl f | .Fl n | Fl u *************** *** 205,210 **** --- 205,216 ---- Print .Ar label instead of the first 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 + with a letter, an underscore or a dollar sign. + For C source code following standard layout conventions, this will + show the prototype of the function the change applies to. .It Fl t Will expand tabs in output lines. Normal or