Skip to content

Commit 806daf7

Browse files
committed
Add a few missing options to the man page source file.
1 parent ae23ab6 commit 806daf7

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

man/cppcheck.1.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
116116
<arg choice="opt"><option>--help</option></arg>
117117
<arg choice="opt"><option>-I&lt;dir&gt;</option></arg>
118118
<arg choice="opt"><option>--includes-file=&lt;file&gt;</option></arg>
119+
<arg choice="opt"><option>--config-exclude=&lt;dir&gt;</option></arg>
120+
<arg choice="opt"><option>--config-excludes-file=&lt;file&gt;</option></arg>
121+
<arg choice="opt"><option>--include=&lt;file&gt;</option></arg>
119122
<arg choice="opt"><option>-i&lt;dir&gt;</option></arg>
120123
<arg choice="opt"><option>--inconclusive</option></arg>
121124
<arg choice="opt"><option>--inline-suppr</option></arg>
122125
<arg choice="opt"><option>-j&lt;jobs&gt;</option></arg>
126+
<arg choice="opt"><option>-l&lt;load&gt;</option></arg>
123127
<arg choice="opt"><option>--language=&lt;language&gt;</option></arg>
124128
<arg choice="opt"><option>--library=&lt;cfg&gt;</option></arg>
125129
<arg choice="opt"><option>--max-configs=&lt;limit&gt;</option></arg>
@@ -309,6 +313,26 @@ searched for contained header files first. If paths are relative to source files
309313
First given path is searched for contained header files first. If paths are relative to source files, this is not needed.</para>
310314
</listitem>
311315
</varlistentry>
316+
<varlistentry>
317+
<term><option>--config-exclude=&lt;dir&gt;</option></term>
318+
<listitem>
319+
<para>Path (prefix) to be excluded from configuration checking. Preprocessor configurations defined in headers
320+
(but not sources) matching the prefix will not be considered for evaluation of configuration alternatives.</para>
321+
</listitem>
322+
</varlistentry>
323+
<varlistentry>
324+
<term><option>--config-exclude-file=&lt;file&gt;</option></term>
325+
<listitem>
326+
<para>A file that contains a list of config-excludes.</para>
327+
</listitem>
328+
</varlistentry>
329+
<varlistentry>
330+
<term><option>--include=&lt;file&gt;</option></term>
331+
<listitem>
332+
<para>Force inclusion of a file before the checked file. Can be used for example when checking the Linux kernel,
333+
where autoconf.h needs to be included for every file compiled. Works the same way as the GCC -include option.</para>
334+
</listitem>
335+
</varlistentry>
312336
<varlistentry>
313337
<term><option>-i &lt;dir&gt;</option></term>
314338
<listitem>
@@ -336,6 +360,13 @@ There are false positives with this option. Each result must be carefully invest
336360
<para>Start &lt;jobs&gt; threads to do the checking work.</para>
337361
</listitem>
338362
</varlistentry>
363+
<varlistentry>
364+
<term><option>-l &lt;load&gt;</option></term>
365+
<listitem>
366+
<para>Specifies that no new threads should be started if there are other threads running and the load average is at least
367+
&lt;load&gt; (ignored on non UNIX-like systems)</para>
368+
</listitem>
369+
</varlistentry>
339370
<varlistentry>
340371
<term><option>--language=&lt;language&gt;</option></term>
341372
<listitem>

0 commit comments

Comments
 (0)