summaryrefslogtreecommitdiffstats
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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 862d0f99f7b..046e93d08a6 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.31 2005/04/18 21:02:49 jfb Exp $ */
+/* $OpenBSD: diff.c,v 1.32 2005/04/22 03:38:56 joris Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -409,6 +409,9 @@ cvs_diff_options(char *opt, int argc, char **argv, int *arg)
return (CVS_EX_USAGE);
}
break;
+ case 'R':
+ cvs_diff.file_flags |= CF_RECURSE;
+ break;
case 'u':
strlcat(diffargs, " -u", sizeof(diffargs));
format = D_UNIFIED;