diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-01 09:18:55 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-12-01 09:18:55 +0000 |
commit | 248607deeb11ec1d56f405ef5cfe9135a17a0a71 (patch) | |
tree | ff97af46fcc12400c6454c67f67b309dfc814b1b | |
parent | 1d6a8c9220b4c6d758febf1cb16d638beac5f571 (diff) |
some more bite; writing about rcsdiff(1); OK jmc@.
-rw-r--r-- | usr.bin/rcs/rcsintro.7 | 18 |
1 files changed, 17 insertions, 1 deletions
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 <xsa@openbsd.org> .\" 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 , |