Annotation of src/usr.bin/cvs/cvsrc.5, Revision 1.3
1.3 ! jmc 1: .\" $OpenBSD: cvsrc.5,v 1.2 2004/07/26 17:29:49 jfb Exp $
1.1 jfb 2: .\"
3: .\" Copyright (c) 2004 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 June 14, 2004
27: .Dt CVSRC 5
28: .Os
29: .Sh NAME
30: .Nm cvsrc
31: .Nd startup resource file for CVS
32: .Sh DESCRIPTION
1.3 ! jmc 33: The
! 34: .Nm
! 35: file provides a way to give the
1.1 jfb 36: .Xr cvs 1
37: program implicit global options and command-specific options.
1.3 ! jmc 38: Unless the
1.1 jfb 39: .Fl f
1.3 ! jmc 40: option is specified,
! 41: .Xr cvs 1
! 42: reads its startup configuration file
! 43: .Pa .cvsrc
! 44: from the home directory of the user who invoked it.
1.1 jfb 45: .Pp
46: The format of each line is as follows:
47: .Pp
48: .Dl command [arg ...]
49: .Pp
50: where
51: .Ar command
52: is either the `cvs' keyword to specify global options, one of the supported
53: .Xr cvs 1
54: commands or a command alias.
55: Arguments following
56: .Ar command
57: will be added implicitly to the appropriate command's argument vector if it is
58: run.
59: Empty lines and lines specifying no optional arguments are ignored.
60: Lines whose
61: .Ar command
62: argument is not a valid command will generate a warning when running without
63: the
64: .Fl q
65: or
66: .Fl Q
67: flags.
68: .Sh EXAMPLES
1.3 ! jmc 69: Specify that
! 70: .Xr cvs 1
! 71: should always run in quiet mode and the
! 72: .Ic diff
! 73: internal command should always produce unified output:
! 74: .Bd -literal -offset indent
! 75: cvs -q
! 76: diff -u
! 77: .Ed
1.1 jfb 78: .Sh SEE ALSO
79: .Xr cvs 1