aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparse.1
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-07-11 16:28:34 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-07-11 16:32:27 +0200
commit635db41c41a436cf0e8d27a5e70898b5332425ed (patch)
treef2cb13f582afff2959091b18b4e834386ad0e7e7 /sparse.1
parentc9676a3b0349a1053c673243af52a2ef1b272bd7 (diff)
downloadsparse-dev-635db41c41a436cf0e8d27a5e70898b5332425ed.tar.gz
teach sparse about -fmax-errors
Currently, the maximum number of displayed errors is 100. This is nice to not be flooded with error messages when things are really broken but in some situation, for example testing, it is desirable to have all error messages. So, teach sparse about '-fmax-errors=COUNT'. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparse.1')
-rw-r--r--sparse.16
1 files changed, 6 insertions, 0 deletions
diff --git a/sparse.1 b/sparse.1
index d916ad9e..dbef6268 100644
--- a/sparse.1
+++ b/sparse.1
@@ -20,6 +20,12 @@ off those warnings, pass the negation of the associated warning option,
.
.SH WARNING OPTIONS
.TP
+.B \-fmax-errors=COUNT
+Set the maximum number of displayed errors to COUNT, which should be
+a numerical value or 'unlimited'.
+The default limit is 100.
+.
+.TP
.B \-fmax-warnings=COUNT
Set the maximum number of displayed warnings to COUNT, which should be
a numerical value or 'unlimited'.