summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-11-21 15:45:23 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-11-21 15:45:23 +0000
commit8c4336bb582bec315c234d694aa355ec48eba449 (patch)
tree8707815b866e51c06132c749157e01ab5abefa37
parentf941c869d41c6f37269e2650047ae34bcf3fef36 (diff)
add EXAMPLES section; jmc niallo ok
-rw-r--r--usr.bin/rcs/co.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/rcs/co.1 b/usr.bin/rcs/co.1
index 799ed6bdec8..07747fa6284 100644
--- a/usr.bin/rcs/co.1
+++ b/usr.bin/rcs/co.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: co.1,v 1.10 2005/11/03 15:43:11 niallo Exp $
+.\" $OpenBSD: co.1,v 1.11 2005/11/21 15:45:22 xsa Exp $
.\"
.\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
.\" All rights reserved.
@@ -117,6 +117,18 @@ option.
If set, this variable should contain a list of space-delimited options that
are prepended to the argument list.
.El
+.Sh EXAMPLES
+Retrieve the latest revision of file
+.Pa foo.c
+and lock it for further editing:
+.Pp
+.Dl $ co -l foo.c
+.Pp
+Retrieve revision 1.5 of file
+.Pa foo.c :
+.Pp
+.Dl $ co -r1.5 foo.c
+.Pp
.Sh SEE ALSO
.Xr ci 1 ,
.Xr ident 1 ,