Annotation of src/usr.bin/rcs/rcsclean.1, Revision 1.12
1.12 ! jmc 1: .\" $OpenBSD: rcsclean.1,v 1.11 2005/11/25 15:35:43 xsa Exp $
1.1 joris 2: .\"
3: .\" Copyright (c) 2005 Joris Vink <joris@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 RCSCLEAN 1
19: .Os
20: .Sh NAME
21: .Nm rcsclean
22: .Nd clean up working files
23: .Sh SYNOPSIS
24: .Nm
25: .Bk -words
1.11 xsa 26: .Op Fl TV
1.4 niallo 27: .Op Fl k Ns Ar mode
1.8 xsa 28: .Op Fl n Ns Op Ar rev
29: .Op Fl q Ns Op Ar rev
1.4 niallo 30: .Op Fl r Ns Ar rev
1.8 xsa 31: .Op Fl u Ns Op Ar rev
1.9 xsa 32: .Op Fl x Ns Ar suffixes
33: .Op Fl z Ns Ar tz
1.1 joris 34: .Ar file ...
35: .Ek
36: .Sh DESCRIPTION
37: The
38: .Nm
39: program is used to remove files that are not being worked on.
40: .Pp
41: The following options are supported:
42: .Bl -tag -width Ds
1.5 jmc 43: .It Fl k Ns Ar mode
1.1 joris 44: Specify the keyword substitution mode.
1.8 xsa 45: .It Fl n Ns Op Ar rev
1.2 jmc 46: Dry-run mode.
47: When this option is specified,
1.1 joris 48: .Nm
49: will show you what it would normally do without doing it.
1.8 xsa 50: .It Fl q Ns Op Ar rev
1.1 joris 51: Be quiet about reporting.
1.4 niallo 52: .It Fl r Ns Ar rev
1.1 joris 53: Specify the revision for comparison.
1.11 xsa 54: .It Fl T
1.12 ! jmc 55: Preserve the modification time of RCS files.
1.8 xsa 56: .It Fl u Ns Op Ar rev
1.7 xsa 57: Unlock the revision if it's not locked and has not been changed.
1.1 joris 58: .It Fl V
59: Print RCS's version number.
1.9 xsa 60: .It Fl x Ns Ar suffixes
61: Specify the suffixes for RCS files.
62: Suffixes should be separated by the
63: .Sq /
64: character.
65: .It Fl z Ns Ar tz
66: Specify the time zone for keyword substitution.
1.1 joris 67: .El
68: .Sh ENVIRONMENT
69: .Bl -tag -width RCSINIT
70: .It Ev RCSINIT
71: If set, this variable should contain a list of space-delimited options that
72: are prepended to the argument list.
73: .El
1.10 xsa 74: .Sh EXAMPLES
75: Remove all working files (locked or not) in the current directory that were
76: not changed since last checkout:
77: .Pp
78: .Dl $ rcsclean -u
1.1 joris 79: .Sh SEE ALSO
1.3 xsa 80: .Xr ci 1 ,
1.1 joris 81: .Xr co 1 ,
1.3 xsa 82: .Xr ident 1 ,
1.1 joris 83: .Xr rcs 1 ,
84: .Xr rcsdiff 1 ,
1.6 xsa 85: .Xr rcsmerge 1 ,
1.3 xsa 86: .Xr rlog 1