summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index b5740e73d0b..00392a367d3 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.121 2007/09/22 16:01:22 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.122 2008/01/28 20:31:07 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -35,7 +35,7 @@ struct cvs_cmd cvs_cmd_diff = {
CVS_OP_DIFF, 0, "diff",
{ "di", "dif" },
"Show differences between revisions",
- "[-cilNnpu] [[-D date] [-r rev] [-D date2 | -r rev2]] "
+ "[-cilNnpRu] [[-D date] [-r rev] [-D date2 | -r rev2]] "
"[-k mode] [file ...]",
"cD:iklNnpr:Ru",
NULL,
@@ -74,6 +74,9 @@ cvs_diff(int argc, char **argv)
strlcat(diffargs, " -p", sizeof(diffargs));
diff_pflag = 1;
break;
+ case 'R':
+ flags |= CR_RECURSE_DIRS;
+ break;
case 'r':
if (rev1 == NULL) {
rev1 = optarg;