|
|
37d6e3 |
From 3f9e3da40a77274705c9cb9103a6046daa950f5d Mon Sep 17 00:00:00 2001
|
|
|
37d6e3 |
From: Jari Aalto <jari.aalto@cante.net>
|
|
|
37d6e3 |
Date: Sat, 8 May 2010 20:16:14 +0300
|
|
|
37d6e3 |
Subject: [PATCH 7/9] doc/cscope.1: Fix hyphens
|
|
|
37d6e3 |
|
|
|
37d6e3 |
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
|
|
|
37d6e3 |
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
|
|
|
37d6e3 |
---
|
|
|
37d6e3 |
doc/cscope.1 | 33 ++++++++++++++++-----------------
|
|
|
37d6e3 |
1 file changed, 16 insertions(+), 17 deletions(-)
|
|
|
37d6e3 |
|
|
|
37d6e3 |
diff --git a/doc/cscope.1 b/doc/cscope.1
|
|
|
37d6e3 |
index ca94e8b..0318347 100644
|
|
|
37d6e3 |
--- a/doc/cscope.1
|
|
|
37d6e3 |
+++ b/doc/cscope.1
|
|
|
37d6e3 |
@@ -1,4 +1,3 @@
|
|
|
37d6e3 |
-.PU
|
|
|
37d6e3 |
.TH CSCOPE "1" "January 2007" "The Santa Cruz Operation"
|
|
|
37d6e3 |
.SH NAME
|
|
|
37d6e3 |
cscope - interactively examine a C program
|
|
|
37d6e3 |
@@ -106,7 +105,7 @@ below. (The #include files
|
|
|
37d6e3 |
may be specified with either double quotes or angle brackets.)
|
|
|
37d6e3 |
The incdir directory is searched in addition to the current
|
|
|
37d6e3 |
directory (which is searched first) and the standard list
|
|
|
37d6e3 |
-(which is searched last). If more than one occurrence of -I
|
|
|
37d6e3 |
+(which is searched last). If more than one occurrence of \-I
|
|
|
37d6e3 |
appears, the directories are searched in the order they appear
|
|
|
37d6e3 |
on the command line.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
@@ -129,7 +128,7 @@ source trees generally do not use it.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B -L
|
|
|
37d6e3 |
Do a single search with line-oriented output when used with the
|
|
|
37d6e3 |
--num pattern option.
|
|
|
37d6e3 |
+\-num pattern option.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B -l
|
|
|
37d6e3 |
Line-oriented interface (see ``Line-Oriented Interface''
|
|
|
37d6e3 |
@@ -146,7 +145,7 @@ Prepend
|
|
|
37d6e3 |
.I path
|
|
|
37d6e3 |
to relative file names in a pre-built cross-reference file so you do
|
|
|
37d6e3 |
not have to change to the directory where the cross-reference file was
|
|
|
37d6e3 |
-built. This option is only valid with the -d option.
|
|
|
37d6e3 |
+built. This option is only valid with the \-d option.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.BI -p n
|
|
|
37d6e3 |
Display the last
|
|
|
37d6e3 |
@@ -195,7 +194,7 @@ Remove the cscope reference file and inverted indexes when exiting
|
|
|
37d6e3 |
.I files
|
|
|
37d6e3 |
A list of file names to operate on.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
-The -I, -c, -k, -p, -q, and -T options can also be in the cscope.files file.
|
|
|
37d6e3 |
+The \-I, \-c, \-k, \-p, \-q, and \-T options can also be in the cscope.files file.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
.SS Requesting the initial search
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
@@ -266,7 +265,7 @@ Append the displayed list of lines to a file.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B <
|
|
|
37d6e3 |
Read lines from a file that is in symbol reference format
|
|
|
37d6e3 |
-(created by > or >>), just like the -F option.
|
|
|
37d6e3 |
+(created by > or >>), just like the \-F option.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B ^
|
|
|
37d6e3 |
Filter all lines through a shell command and display the
|
|
|
37d6e3 |
@@ -371,7 +370,7 @@ commands, respectively.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
.SS Line-Oriented interface
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
-The -l option lets you use cscope where a screen-oriented interface
|
|
|
37d6e3 |
+The \-l option lets you use cscope where a screen-oriented interface
|
|
|
37d6e3 |
would not be useful, for example, from another screen-oriented
|
|
|
37d6e3 |
program.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
@@ -380,10 +379,10 @@ with the field number (counting from 0) immediately followed by the
|
|
|
37d6e3 |
search pattern, for example, ``lmain'' finds the definition of the
|
|
|
37d6e3 |
main function.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
-If you just want a single search, instead of the -l option use the -L
|
|
|
37d6e3 |
-and -num pattern options, and you won't get the >> prompt.
|
|
|
37d6e3 |
+If you just want a single search, instead of the \-l option use the \-L
|
|
|
37d6e3 |
+and \-num pattern options, and you won't get the >> prompt.
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
-For -l, cscope outputs the number of reference lines
|
|
|
37d6e3 |
+For \-l, cscope outputs the number of reference lines
|
|
|
37d6e3 |
cscope: 2 lines
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
For each reference found, cscope outputs a line consisting of the file
|
|
|
37d6e3 |
@@ -468,11 +467,11 @@ is not set, cscope searches only in the current directory.
|
|
|
37d6e3 |
.SH FILES
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B cscope.files
|
|
|
37d6e3 |
-Default files containing -I, -p, -q, and -T options and the
|
|
|
37d6e3 |
-list of source files (overridden by the -i option).
|
|
|
37d6e3 |
+Default files containing \-I, \-p, \-q, and \-T options and the
|
|
|
37d6e3 |
+list of source files (overridden by the \-i option).
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B cscope.out
|
|
|
37d6e3 |
-Symbol cross-reference file (overridden by the -f option),
|
|
|
37d6e3 |
+Symbol cross-reference file (overridden by the \-f option),
|
|
|
37d6e3 |
which is put in the home directory if it cannot be created in
|
|
|
37d6e3 |
the current directory.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
@@ -482,11 +481,11 @@ the current directory.
|
|
|
37d6e3 |
.B cscope.po.out
|
|
|
37d6e3 |
.PD 1
|
|
|
37d6e3 |
Default files containing the inverted index used for quick
|
|
|
37d6e3 |
-symbol searching (-q option). If you use the -f option to
|
|
|
37d6e3 |
+symbol searching (\-q option). If you use the \-f option to
|
|
|
37d6e3 |
rename the cross-reference file (so it's not cscope.out), the
|
|
|
37d6e3 |
names for these inverted index files will be created by adding
|
|
|
37d6e3 |
- .in and .po to the name you supply with -f. For example, if you
|
|
|
37d6e3 |
-indicated -f xyz, then these files would be named xyz.in and
|
|
|
37d6e3 |
+ .in and .po to the name you supply with \-f. For example, if you
|
|
|
37d6e3 |
+indicated \-f xyz, then these files would be named xyz.in and
|
|
|
37d6e3 |
xyz.po.
|
|
|
37d6e3 |
.TP
|
|
|
37d6e3 |
.B INCDIR
|
|
|
37d6e3 |
@@ -554,7 +553,7 @@ definition, for example,
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
char flag
|
|
|
37d6e3 |
#ifdef ALLOCATE_STORAGE
|
|
|
37d6e3 |
- = -1
|
|
|
37d6e3 |
+ = \-1
|
|
|
37d6e3 |
#endif
|
|
|
37d6e3 |
;
|
|
|
37d6e3 |
.PP
|
|
|
37d6e3 |
--
|
|
|
37d6e3 |
2.26.2
|
|
|
37d6e3 |
|