diff options
author | 2005-04-22 03:38:56 +0000 | |
---|---|---|
committer | 2005-04-22 03:38:56 +0000 | |
commit | f203c4841fd849a38c2462d9b6c6862f8935826c (patch) | |
tree | 6778f19c218804c78022054462ddf736882f9c33 /usr.bin/cvs/diff.c | |
parent | snprintf cleanup. OK deraadt@, moritz@ (diff) | |
download | wireguard-openbsd-f203c4841fd849a38c2462d9b6c6862f8935826c.tar.xz wireguard-openbsd-f203c4841fd849a38c2462d9b6c6862f8935826c.zip |
missing '-R' (force recursion) option for diff.
noticed by brad@
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 5 |
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; |