Annotation of src/usr.bin/rcs/ci.1, Revision 1.1
1.1 ! niallo 1: .\" $OpenBSD: co.1,v 1.2 2005/10/04 20:29:10 jmc Exp $
! 2: .\"
! 3: .\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
! 4: .\" All rights reserved.
! 5: .\"
! 6: .\" Permission to use, copy, modify, and distribute this software for any
! 7: .\" purpose with or without fee is hereby granted, provided that the above
! 8: .\" copyright notice and this permission notice appear in all copies.
! 9: .\"
! 10: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
! 11: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
! 12: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
! 13: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
! 14: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
! 15: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
! 16: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! 17: .Dd October 08, 2005
! 18: .Dt CI 1
! 19: .Os
! 20: .Sh NAME
! 21: .Nm ci
! 22: .Nd check in RCS revisions
! 23: .Sh SYNOPSIS
! 24: .Nm
! 25: .Bk -words
! 26: .Op Fl jlMNqruV
! 27: .Op Fl d Ar date
! 28: .Op Fl k Ar mode
! 29: .Op Fl m Ar msg
! 30: .Op Fl r Ar rev
! 31: .Ar file ...
! 32: .Ek
! 33: .Sh DESCRIPTION
! 34: The
! 35: .Nm
! 36: program is used to check new revisions into RCS files.
! 37: .Pp
! 38: The following options are supported:
! 39: .Bl -tag -width Ds
! 40: .It Fl d Ar date
! 41: Uses
! 42: .Ar date
! 43: for check-in date and time.
! 44: .It Fl f
! 45: Force check in.
! 46: .It Fl I
! 47: Interactive mode.
! 48: .It Fl k Ar mode
! 49: Specify the keyword substitution mode.
! 50: .It Fl l
! 51: The same as
! 52: .Fl r ,
! 53: but also immediately checks out the deposited revision and locks it. This is
! 54: useful if you wish to continue to edit the working file after check-in.
! 55: .It Fl M
! 56: Set the modification time of the file to the date of the
! 57: retrieved revision.
! 58: .It Fl m Ar msg
! 59: Specify a log message.
! 60: A line beginning with a hash character
! 61: .Pq Sq #
! 62: is considered a comment and ignored.
! 63: .It Fl q
! 64: Be quiet about reporting.
! 65: .It Fl r
! 66: Overrides any -l or -u options, ensuring the default behaviour of releasing a
! 67: lock and removing the working file.
! 68: .It Fl r Ar rev
! 69: Check in revision
! 70: .Ar rev .
! 71: .It Fl s Ar state
! 72: Sets the state of the deposited revision to the identifier
! 73: .Ar state .
! 74: .It Fl u
! 75: The same as
! 76: .Fl r ,
! 77: but also immediately checks out the deposited revision read-only. Useful if you
! 78: wish to read the working file after check-in.
! 79: .It Fl V
! 80: Print RCS's version number.
! 81: .It Fl w Ar user
! 82: Uses
! 83: .Ar user
! 84: as the author field of the deposited revision.
! 85: If the
! 86: .Ar user
! 87: argument is omitted, the login of the user issuing the command
! 88: is assumed.
! 89: .El
! 90: .Sh ENVIRONMENT
! 91: .Bl -tag -width RCSINIT
! 92: .It Ev RCSINIT
! 93: If set, this variable should contain a list of space-delimited options that
! 94: are prepended to the argument list.
! 95: .El
! 96: .Sh SEE ALSO
! 97: .Xr co 1 ,
! 98: .Xr rcs 1 ,
! 99: .Xr rcsclean 1 ,
! 100: .Xr rcsdiff 1 ,
! 101: .Xr rcsfile 5