From 270908781fcb34a70d60d036836b8908613606e0 Mon Sep 17 00:00:00 2001
From: Jari Aalto <email@example.com>
Date: Sat, 8 May 2010 20:16:14 +0300
Subject: [PATCH] doc/cscope.1: Fix hyphens
Content-Type: text/plain; charset="utf-8"
Signed-off-by: Jari Aalto <firstname.lastname@example.org>
doc/cscope.1 | 33 ++++++++++++++++-----------------
1 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/doc/cscope.1 b/doc/cscope.1
index 6a3a86b..26a153e 100644
@@ -1,4 +1,3 @@
.TH CSCOPE "1" "January 2007" "The Santa Cruz Operation"
cscope - interactively examine a C program
@@ -106,7 +105,7 @@ below. (The #include files
may be specified with either double quotes or angle brackets.)
The incdir directory is searched in addition to the current
directory (which is searched first) and the standard list
-(which is searched last). If more than one occurrence of -I
+(which is searched last). If more than one occurrence of \-I
appears, the directories are searched in the order they appear
on the command line.
@@ -129,7 +128,7 @@ source trees generally do not use it.
Do a single search with line-oriented output when used with the
--num pattern option.
+\-num pattern option.
Line-oriented interface (see ``Line-Oriented Interface''
@@ -146,7 +145,7 @@ Prepend
to relative file names in a pre-built cross-reference file so you do
not have to change to the directory where the cross-reference file was
-built. This option is only valid with the -d option.
+built. This option is only valid with the \-d option.
.BI -p n
Display the last
@@ -192,7 +191,7 @@ database building and searches.
A list of file names to operate on.
-The -I, -c, -k, -p, -q, and -T options can also be in the cscope.files file.
+The \-I, \-c, \-k, \-p, \-q, and \-T options can also be in the cscope.files file.
.SS Requesting the initial search
@@ -261,7 +260,7 @@ Append the displayed list of lines to a file.
Read lines from a file that is in symbol reference format
-(created by > or >>), just like the -F option.
+(created by > or >>), just like the \-F option.
Filter all lines through a shell command and display the
@@ -366,7 +365,7 @@ commands, respectively.
.SS Line-Oriented interface
-The -l option lets you use cscope where a screen-oriented interface
+The \-l option lets you use cscope where a screen-oriented interface
would not be useful, for example, from another screen-oriented
@@ -375,10 +374,10 @@ with the field number (counting from 0) immediately followed by the
search pattern, for example, ``lmain'' finds the definition of the
-If you just want a single search, instead of the -l option use the -L
-and -num pattern options, and you won't get the >> prompt.
+If you just want a single search, instead of the \-l option use the \-L
+and \-num pattern options, and you won't get the >> prompt.
-For -l, cscope outputs the number of reference lines
+For \-l, cscope outputs the number of reference lines
cscope: 2 lines
For each reference found, cscope outputs a line consisting of the file
@@ -463,11 +462,11 @@ is not set, cscope searches only in the current directory.
-Default files containing -I, -p, -q, and -T options and the
-list of source files (overridden by the -i option).
+Default files containing \-I, \-p, \-q, and \-T options and the
+list of source files (overridden by the \-i option).
-Symbol cross-reference file (overridden by the -f option),
+Symbol cross-reference file (overridden by the \-f option),
which is put in the home directory if it cannot be created in
the current directory.
@@ -477,11 +476,11 @@ the current directory.
Default files containing the inverted index used for quick
-symbol searching (-q option). If you use the -f option to
+symbol searching (\-q option). If you use the \-f option to
rename the cross-reference file (so it's not cscope.out), the
names for these inverted index files will be created by adding
- .in and .po to the name you supply with -f. For example, if you
-indicated -f xyz, then these files would be named xyz.in and
+ .in and .po to the name you supply with \-f. For example, if you
+indicated \-f xyz, then these files would be named xyz.in and
@@ -549,7 +548,7 @@ definition, for example,
- = -1
+ = \-1