summaryrefslogtreecommitdiff
path: root/debian/ocs.1
blob: 450fea1944cfe706f94f8fc6895f5eced8fdd4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.\"
.\" This document is free to modify and distribute.
.\"
.TH ocs 1 "June 2001" "The Debian Project"

.SH NAME
ocs \- creates and maintains the database for cscope on a recursive directory set
.SH SYNOPSIS
.B ocs
[-x] [-f] [-q] [-u] 
.br

.SH DESCRIPTION
This manual page briefly documents 
.B ocs
, a shell script wrapper that automates the creation and maintainence of a 
.BR cscope(1)
database on a recursive set of directories. Under normal circumstances,
.B ocs
generates a cscope database on a recursive group of directories starting from the current working directory, before launching
.BR cscope(1)
in interactive mode.
.br

.SH OPTIONS
.B
.IP -x 
Enable debugging.
.br
.B
.IP -f
Force. Do not ask about regenerating 'TMP' lists (lists generated by
.B ocs
), just do it; Allow the regeneration of 'CSD' (lists generated by
.BR cscope(1)
) lists.
.br
.B
.IP -q 
Tell cscope to build a fast reverse index. Database disk space usage is doubled, but searching speed is increased.
.br
.B
.IP -u
Request that the database be updated or regenerated.
.br
.SH FILES
.IP ./cscope.rc
If this is an executable shell script, it will be included in the body of
.B ocs
in order to override intenal filenames and other options. See the comments at the top of 
.B /usr/bin/ocs
for more information.
.SH BUGS
None noted.
.SH SEE ALSO
.BR cscope(1),
.BR /usr/bin/ocs.
.SH AUTHORS
.br
This manpage originally prepared by
.B Nick Rusnov
<nick@grawk.net> for the Debian Project.