summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/rlog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c
index 26c9433886f..072a359e20c 100644
--- a/usr.bin/rcs/rlog.c
+++ b/usr.bin/rcs/rlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlog.c,v 1.6 2005/10/24 16:14:15 xsa Exp $ */
+/* $OpenBSD: rlog.c,v 1.7 2005/10/25 16:08:20 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -91,8 +91,10 @@ rlog_main(int argc, char **argv)
exit(1);
}
- if ((hflag == 1) && (tflag == 1))
+ if ((hflag == 1) && (tflag == 1)) {
cvs_log(LP_WARN, "warning: -t overrides -h.");
+ hflag = 0;
+ }
for (i = 0; i < argc; i++) {
if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0)