summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-05-20 18:26:50 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-05-20 18:26:50 +0000
commit6d6ba437544c3dd4dce421dbabbb9b3b5662cbef (patch)
treeb606c29e2122df9199d427cefbf06496c761715c /usr.bin/cvs/checkout.c
parent59e38454dfc5679329512dafd063ac43760c9ecd (diff)
first bits of the `cvs -n' option; ok jfb joris
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index dbb7404e761..b42c1ccd495 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.19 2005/05/20 05:13:44 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.20 2005/05/20 18:26:49 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -92,6 +92,9 @@ cvs_checkout_options(char *opt, int argc, char **argv, int *arg)
return (CVS_EX_USAGE);
}
break;
+ case 'p':
+ cvs_noexec = 1; /* no locks will be created */
+ break;
case 'r':
rev = optarg;
break;