diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-14 11:01:05 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-14 11:01:05 +0000 |
commit | 8352cfeff40366f60e4dd3a3222821c58cdd05e9 (patch) | |
tree | eeb45455411b39e73743d7d1f3542b5a20d7a0d5 | |
parent | 9162b958d763fd31adbf2fc667f88809d7557cab (diff) |
print RCS file path;
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index 3c18e4df9c9..a6fb6cc6af4 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.13 2005/10/27 07:43:56 xsa Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.14 2005/11/14 11:01:04 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -98,9 +98,6 @@ rcsdiff_main(int argc, char **argv) } for (i = 0; i < argc; i++) { - if (verbose == 1) - cvs_printf("%s\n", RCS_DIFF_DIV); - if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0) continue; @@ -112,6 +109,11 @@ rcsdiff_main(int argc, char **argv) else frev = rev; + if (verbose == 1) { + cvs_printf("%s\n", RCS_DIFF_DIV); + cvs_printf("RCS file: %s\n", fpath); + } + diff_file = argv[i]; if (rev2 == NULL) { |