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