made -v produce tip-revision, which was what I wanted in the first place...
This commit is contained in:
parent
d22eb64459
commit
2924ea82c2
@ -2,7 +2,7 @@
|
||||
.ds Rv \\$3
|
||||
.ds Dt \\$4
|
||||
..
|
||||
.Id $Id: rlog.1,v 1.1.1.1 1993/06/18 04:22:17 jkh Exp $
|
||||
.Id $Id: rlog.1,v 1.2 1994/05/11 22:39:43 phk Exp $
|
||||
.ds g \&\s-1UTC\s0
|
||||
.ds r \&\s-1RCS\s0
|
||||
.if n .ds - \%--
|
||||
@ -55,8 +55,8 @@ This is convenient for translating a
|
||||
working pathname into an \*r pathname.
|
||||
.TP
|
||||
.BI \-v "[string]"
|
||||
Print only the working pathname and head. The optional string is prepended
|
||||
to the outputline.
|
||||
Print only the working pathname and tip-revision.
|
||||
The optional string is prepended to the outputline.
|
||||
.TP
|
||||
.B \-h
|
||||
Print only the \*r pathname, working pathname, head,
|
||||
|
@ -36,6 +36,9 @@ Report problems and direct all questions to:
|
||||
|
||||
|
||||
/* $Log: rlog.c,v $
|
||||
* Revision 1.3 1994/05/11 22:39:44 phk
|
||||
* Added -v option to rlog. This gives a quick way to get a list of versions.
|
||||
*
|
||||
* Revision 1.2 1993/08/06 16:47:16 nate
|
||||
* Have rlog output be much easier to parse. (Added one line which is not
|
||||
* used by any CVS/RCS commands)
|
||||
@ -198,7 +201,7 @@ static struct lockers *lockerlist;
|
||||
static struct stateattri *statelist;
|
||||
|
||||
|
||||
mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.2 1993/08/06 16:47:16 nate Exp $")
|
||||
mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.3 1994/05/11 22:39:44 phk Exp $")
|
||||
{
|
||||
static char const cmdusage[] =
|
||||
"\nrlog usage: rlog -{bhLRt} [-v[string]] -ddates -l[lockers] -rrevs -sstates -w[logins] -Vn file ...";
|
||||
@ -339,7 +342,8 @@ mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.2 1993/08/06 16:47:16 nate Exp $")
|
||||
continue;
|
||||
|
||||
if ( versionlist ) {
|
||||
aprintf(out, "%s%s %s\n", vstring, workfilename, Head->num);
|
||||
gettree()l
|
||||
aprintf(out, "%s%s %s\n", vstring, workfilename, tiprev());
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user