diff options
author | 2005-11-03 15:40:40 +0000 | |
---|---|---|
committer | 2005-11-03 15:40:40 +0000 | |
commit | 42c920d55179c49db3704b8ee59eb28f56118b82 (patch) | |
tree | 5d2d3ab6a870f39930c7db7eded01b625a9279c7 | |
parent | Cache reverse lookups with and without DNS separately; ok markus@ (diff) | |
download | wireguard-openbsd-42c920d55179c49db3704b8ee59eb28f56118b82.tar.xz wireguard-openbsd-42c920d55179c49db3704b8ee59eb28f56118b82.zip |
- implement `-M' option.
-rw-r--r-- | usr.bin/rcs/co.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 059a85660dc..657ecc6403b 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.25 2005/11/02 20:44:50 niallo Exp $ */ +/* $OpenBSD: co.c,v 1.26 2005/11/03 15:40:40 niallo Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -59,7 +59,7 @@ checkout_main(int argc, char **argv) exit (1); } - while ((ch = rcs_getopt(argc, argv, "f::l::p::qr::s:u::V")) != -1) { + while ((ch = rcs_getopt(argc, argv, "f::l::M::p::qr::s:u::V")) != -1) { switch (ch) { case 'f': rcs_set_rev(rcs_optarg, &rev); @@ -69,6 +69,10 @@ checkout_main(int argc, char **argv) rcs_set_rev(rcs_optarg, &rev); flags |= CO_LOCK; break; + case 'M': + rcs_set_rev(rcs_optarg, &rev); + flags |= CO_REVDATE; + break; case 'p': rcs_set_rev(rcs_optarg, &rev); pipeout = 1; |