summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-06-09 09:01:51 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-06-09 09:01:51 +0000
commitb27e2cdd35df56462399684ab9d1149dafba3ea8 (patch)
tree80f7394139cef33f1c174761abb91749aaabfafe /usr.bin/cvs
parent6b2581740ca296a03e3c7b39ad444bf314a3b792 (diff)
-D implies pruning directories, as already does -r; ok joris
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/checkout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 7f90d5831d1..5bd00e275dd 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.31 2005/06/09 07:24:39 xsa Exp $ */
+/* $OpenBSD: checkout.c,v 1.32 2005/06/09 09:01:50 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -88,6 +88,7 @@ cvs_checkout_init(struct cvs_cmd *cmd, int argc, char **argv, int *arg)
break;
case 'D':
date = optarg;
+ cmd->cmd_flags |= CVS_CMD_PRUNEDIRS;
break;
case 'd':
tgtdir = optarg;