From 248607deeb11ec1d56f405ef5cfe9135a17a0a71 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Thu, 1 Dec 2005 09:18:55 +0000 Subject: some more bite; writing about rcsdiff(1); OK jmc@. --- usr.bin/rcs/rcsintro.7 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/usr.bin/rcs/rcsintro.7 b/usr.bin/rcs/rcsintro.7 index d7fdc12cc87..b9aa4544511 100644 --- a/usr.bin/rcs/rcsintro.7 +++ b/usr.bin/rcs/rcsintro.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcsintro.7,v 1.3 2005/10/26 15:15:46 xsa Exp $ +.\" $OpenBSD: rcsintro.7,v 1.4 2005/12/01 09:18:54 xsa Exp $ .\" .\" Copyright (c) 2005 Xavier Santolaria .\" All rights reserved. @@ -74,6 +74,22 @@ option of the .Xr co 1 command. Only one concurrent locked checkout of a revision is permitted. +.Pp +Once changes have been made to the +.Pa foo.c +file, and before checking the file in, the +.Xr rcsdiff 1 +command can be used to view changes between the working file +and the most recently checked-in revision: +.Pp +.Dl $ rcsdiff -u foo.c +.Pp +The +.Fl u +option produces a unified diff. +See +.Xr diff 1 +for more information. .Sh SEE ALSO .Xr ci 1 , .Xr co 1 , -- cgit v1.2.3