From 79bc4cf5ee30bb6bdf5e385848336f1cfe1bc1a0 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Tue, 25 Oct 2005 17:19:32 +0000 Subject: -T is kept for compatibility with other RCS commands here too; --- usr.bin/rcs/rlog.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'usr.bin/rcs') diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c index 072a359e20c..d6f0246964e 100644 --- a/usr.bin/rcs/rlog.c +++ b/usr.bin/rcs/rlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlog.c,v 1.7 2005/10/25 16:08:20 xsa Exp $ */ +/* $OpenBSD: rlog.c,v 1.8 2005/10/25 17:19:31 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. @@ -57,7 +57,7 @@ rlog_main(int argc, char **argv) RCSFILE *file; hflag = Rflag = 0; - while ((ch = rcs_getopt(argc, argv, "hNqRtV")) != -1) { + while ((ch = rcs_getopt(argc, argv, "hNqRTtV")) != -1) { switch (ch) { case 'h': hflag = 1; @@ -71,6 +71,11 @@ rlog_main(int argc, char **argv) case 'R': Rflag = 1; break; + case 'T': + /* + * kept for compatibility + */ + break; case 't': tflag = 1; break; @@ -115,7 +120,7 @@ void rlog_usage(void) { fprintf(stderr, - "usage: rlog [-hNqRtV] file ...\n"); + "usage: rlog [-hNqRTtV] file ...\n"); } static int -- cgit v1.2.3