On Thu, Nov 05, 2015 at 03:11:38PM +0100, Frederic Nowak wrote: > Hi there, > > it seems the documentation for cvs(1) is missing a few commands: > annotate, edit, editors, login, logout, pserver, rannotate, rlog, > server, version, watch, watchers, unedit > The patch below adds a description for annotate. > > Cheers, > Frederic > > Index: gnu/usr.bin/cvs/man/cvs.1 > ===================================================================
please mail doc fixes for gnu cvs to that project. you probably want to check any issues are not present in the latest version before you do so. jmc > RCS file: /cvs/src/gnu/usr.bin/cvs/man/cvs.1,v > retrieving revision 1.12 > diff -u -p -r1.12 cvs.1 > --- gnu/usr.bin/cvs/man/cvs.1 3 Jun 2013 17:02:36 -0000 1.12 > +++ gnu/usr.bin/cvs/man/cvs.1 5 Nov 2015 14:07:04 -0000 > @@ -308,6 +333,10 @@ Execute > control functions on the source repository. (Changes > repository directly; uses working directory without changing it.) > .TP > +.B annotate > +For each line of a file, show its last revision, the author's name, > +and the date of the change. > +.TP > .B checkout > Make a working directory of source files for editing. (Creates or > changes > working directory.) > @@ -437,7 +466,7 @@ same date (unless you explicitly overrid > the \fBupdate\fP command). > .B \-D > is available with the > -.BR checkout ", " diff ", " history ", " export ", " > +.BR annotate ", " checkout ", " diff ", " history ", " export ", " > .BR rdiff ", " rtag ", and " > .B update > commands. > @@ -467,7 +496,7 @@ files retrieved even when there is no ma > most recent version is used in this situation.) > .B \-f > is available with these commands: > -.BR checkout ", " export ", " > +.BR annotate ", " checkout ", " export ", " > .BR rdiff ", " rtag ", and " update . > .TP > \fB\-k\fP \fIkflag\fP > @@ -493,7 +522,7 @@ at some other site. > .B \-l > Local; run only in current working directory, rather than recurring > through > subdirectories. Available with the following commands: > -.BR checkout ", " commit ", " diff ", " > +.BR annotate ", " checkout ", " commit ", " diff ", " > .BR export ", " remove ", " rdiff ", " rtag ", " > .BR status ", " tag ", and " update . > .I Warning: > @@ -584,7 +613,7 @@ command option is often useful, to suppr > file does not contain the specified tag. > .B \-r > is available with the > -.BR checkout ", " commit ", " diff ", " > +.BR annotate ", " checkout ", " commit ", " diff ", " > .BR history ", " export ", " > .BR rdiff ", " rtag ", and " update > commands. > @@ -756,6 +785,27 @@ facilities, similar to > .BR rcs ( 1 ). > This command works recursively, so extreme care should be > used. > +.TP > +\fBannotate\fP [\fB-flR\fP] [\fB-r\fP \fItag\fP | \fB-D\fP \fIdate\fP] > [\fIfiles...\fP] > +.I Requires: > +repository. > +.br > +.I Changes: > +nothing. > +.br > +.I Synonyms: > +.BR ann ", " blame > +.br > +Print information about the last modification of each line in > +.IR files . > +The information includes the revision number, the author's name, and > +the date of the revision. > +By default (or if the \fB-R\fP option is used), > +.B annotate > +will print information about files in sub-directories; the \fB-l\fP > +option can be used to disable this recursion. > +The standard options \fB-f\fP, \fB-r\fP and \fB-D\fP can be used to > +annotate specific revisions. > .TP > \fBcheckout\fP [\fBoptions\fP] \fImodules\fP.\|.\|. > .I Requires: >