Annotation of src/usr.bin/rcs/rcs.1, Revision 1.7
1.7 ! niallo 1: .\" $OpenBSD: rcs.1,v 1.6 2005/10/12 16:45:11 xsa Exp $
1.1 deraadt 2: .\"
3: .\" Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
4: .\" All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\"
10: .\" 1. Redistributions of source code must retain the above copyright
11: .\" notice, this list of conditions and the following disclaimer.
12: .\" 2. The name of the author may not be used to endorse or promote products
13: .\" derived from this software without specific prior written permission.
14: .\"
15: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
16: .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
17: .\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
18: .\" THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19: .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20: .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21: .\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22: .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23: .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24: .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25: .\"
26: .Dd May 16, 2004
27: .Dt RCS 1
28: .Os
29: .Sh NAME
30: .Nm rcs
31: .Nd RCS file management program
32: .Sh SYNOPSIS
33: .Nm
1.5 jmc 34: .Op Fl aehiLMmUV
1.7 ! niallo 35: .Op Fl a Ns Ar users
! 36: .Op Fl b Ns Op Ar rev
! 37: .Op Fl e Ns Op Ar users
! 38: .Op Fl m Ns Ar rev : Ns Ar log
1.1 deraadt 39: .Ar file Op Ar ...
40: .Sh DESCRIPTION
41: The
42: .Nm
43: program is used to create RCS files or manipulate the contents of existing
44: files.
45: .Pp
46: The following options are supported:
47: .Bl -tag -width "-e usersXX"
1.7 ! niallo 48: .It Fl a Ns Ar users
1.1 deraadt 49: Add the usernames specified in the comma-separated list
50: .Ar users
51: to the access list of the RCS files.
1.7 ! niallo 52: .It Fl b Ns Op Ar rev
! 53: .It Fl e Ns Op Ar users
1.1 deraadt 54: Remove the usernames specified in the comma-separated list
55: .Ar users
56: from the access list of the RCS files.
57: If
58: .Ar users
59: is not specified, all users are removed from the access list.
60: .It Fl h
61: Display the program's usage and exit.
62: .It Fl i
63: Create the RCS files specified as arguments.
64: Files created this way contain no revision.
65: .It Fl L
66: Enable strict locking on the RCS files.
67: See
68: .Xr rcsfile 5
69: for more details on locking.
70: .It Fl M
71: Disable mail warnings when breaking a user's lock.
72: Normally,
73: .Nm
74: will send a mail to the lock owner when his lock is removed by a call
75: to
76: .Nm
77: .Fl u .
78: This option is currently ignored.
1.7 ! niallo 79: .It Fl m Ns Ar rev : Ns Ar msg
1.5 jmc 80: Replace revision
81: .Ar rev Ns 's
82: log message with
83: .Ar msg .
1.1 deraadt 84: .It Fl U
85: Disable strict locking on the RCS files.
86: See
87: .Xr rcsfile 5
88: for more details on locking.
89: .It Fl V
90: Print the program's version string and exit.
91: .El
92: .Sh ENVIRONMENT
93: .Bl -tag -width RCSINIT
94: .It Ev RCSINIT
95: If set, this variable should contain a list of space-delimited options that
96: are prepended to the argument list.
97: .El
98: .Sh SEE ALSO
99: .Xr ci 1 ,
100: .Xr co 1 ,
1.3 jmc 101: .Xr ident 1 ,
1.1 deraadt 102: .Xr rcsclean 1 ,
103: .Xr rcsdiff 1 ,
1.6 xsa 104: .Xr rlog 1