aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-01-02 15:22:28 +0100
committerChris Li <chrisl@chrisl-macbook.(none)>2009-01-02 13:40:33 -0800
commit507e53fbd95737f05615d1bd97803ce5457a4872 (patch)
tree3b900899ee1ecb9993d54c3198313861bf09a6b4 /sparse.1
parentClean up Makefile long lines (diff)
downloadsparse-507e53fbd95737f05615d1bd97803ce5457a4872.tar.gz
sparse-507e53fbd95737f05615d1bd97803ce5457a4872.tar.bz2
sparse-507e53fbd95737f05615d1bd97803ce5457a4872.zip
Add -ftabstop=WIDTH
Make tokenizer aware of tabstops and add the commandline option: -ftabstop=WIDTH Set the distance between tab stops. This helps sparse report correct column numbers in warnings or errors. If the value is less than 1 or greater than 100, the option is ignored. The default is 8. With simplifications suggested by Christopher Li and Junio C Hamano. Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'sparse.1')
-rw-r--r--sparse.17
1 files changed, 7 insertions, 0 deletions
diff --git a/sparse.1 b/sparse.1
index c44e3a5..d7fe444 100644
--- a/sparse.1
+++ b/sparse.1
@@ -269,6 +269,13 @@ Sparse does not issue these warnings by default.
.B \-gcc-base-dir \fIdir\fR
Look for compiler-provided system headers in \fIdir\fR/include/ and \fIdir\fR/include-fixed/.
.
+.SH OTHER OPTIONS
+.TP
+.B \-ftabstop=WIDTH
+Set the distance between tab stops. This helps sparse report correct
+column numbers in warnings or errors. If the value is less than 1 or
+greater than 100, the option is ignored. The default is 8.
+.
.SH SEE ALSO
.BR cgcc (1)
.