diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-10-25 17:19:32 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-10-25 17:19:32 +0000 |
commit | 79bc4cf5ee30bb6bdf5e385848336f1cfe1bc1a0 (patch) | |
tree | b2d1b2087d39d621c7ef7be38867804dcdd948e1 /usr.bin/rcs/rlog.c | |
parent | 93d2d87dc7f95a2fa4f4eb9f5f0f0b03f2ab89c9 (diff) |
-T is kept for compatibility with other RCS commands here too;
Diffstat (limited to 'usr.bin/rcs/rlog.c')
-rw-r--r-- | usr.bin/rcs/rlog.c | 11 |
1 files changed, 8 insertions, 3 deletions
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 <joris@openbsd.org> * 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 |