Skip to content

Commit 7436dd0

Browse files
committed
Update man page
1 parent 3c370dc commit 7436dd0

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

man/cppcheck.1.xml

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
103103
<cmdsynopsis>
104104
<command>&dhpackage;</command>
105105
<arg choice="opt"><option>--append=&lt;file&gt;</option></arg>
106+
<arg choice="opt"><option>--check-config</option></arg>
106107
<arg choice="opt"><option>-D&lt;id&gt;</option></arg>
107108
<arg choice="opt"><option>--enable=&lt;id&gt;</option></arg>
108109
<arg choice="opt"><option>--error-exitcode=&lt;n&gt;</option></arg>
@@ -115,6 +116,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
115116
<arg choice="opt"><option>-i&lt;dir&gt;</option></arg>
116117
<arg choice="opt"><option>--inline-suppr</option></arg>
117118
<arg choice="opt"><option>-j&lt;jobs&gt;</option></arg>
119+
<arg choice="opt"><option>--platform=&lt;type&gt;</option></arg>
118120
<arg choice="opt"><option>--quiet</option></arg>
119121
<arg choice="opt"><option>--report-progress</option></arg>
120122
<arg choice="opt"><option>--rule=&lt;rule&gt;</option></arg>
@@ -154,6 +156,12 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
154156
<para>This allows you to provide information about functions by providing an implementation for these.</para>
155157
</listitem>
156158
</varlistentry>
159+
<varlistentry>
160+
<term><option>--check-config</option></term>
161+
<listitem>
162+
<para>Check Cppcheck configuration. The normal code analysis is disabled by this flag.</para>
163+
</listitem>
164+
</varlistentry>
157165
<varlistentry>
158166
<term><option>-D&lt;id&gt;</option></term>
159167
<listitem>
@@ -178,6 +186,18 @@ Example: -DDEBUG=1 -D__cplusplus</para>
178186
<para>Check coding style</para>
179187
</glossdef>
180188
</glossentry>
189+
<glossentry>
190+
<glossterm>performance</glossterm>
191+
<glossdef>
192+
<para>Enable performance messages</para>
193+
</glossdef>
194+
</glossentry>
195+
<glossentry>
196+
<glossterm>portability</glossterm>
197+
<glossdef>
198+
<para>Enable portability messages</para>
199+
</glossdef>
200+
</glossentry>
181201
<glossentry>
182202
<glossterm>information</glossterm>
183203
<glossdef>
@@ -193,7 +213,7 @@ Example: -DDEBUG=1 -D__cplusplus</para>
193213
<glossentry>
194214
<glossterm>missingInclude</glossterm>
195215
<glossdef>
196-
<para>Check for missing includes</para>
216+
<para>Warn if there are missing includes. For detailed information use --check-config</para>
197217
</glossdef>
198218
</glossentry>
199219
</glosslist>
@@ -272,6 +292,46 @@ Directory name is matched to all parts of the path.</para>
272292
<para>Start &lt;jobs&gt; threads to do the checking work.</para>
273293
</listitem>
274294
</varlistentry>
295+
<varlistentry>
296+
<term><option>--platform=&lt;type&gt;</option></term>
297+
<listitem>
298+
<para>Specifies platform specific types and sizes.The available platforms are:
299+
<glosslist>
300+
<glossentry>
301+
<glossterm>unix32</glossterm>
302+
<glossdef>
303+
<para>32 bit unix variant</para>
304+
</glossdef>
305+
</glossentry>
306+
<glossentry>
307+
<glossterm>unix64</glossterm>
308+
<glossdef>
309+
<para>64 bit unix variant</para>
310+
</glossdef>
311+
</glossentry>
312+
<glossentry>
313+
<glossterm>win32A</glossterm>
314+
<glossdef>
315+
<para>32 bit Windows ASCII character encoding</para>
316+
</glossdef>
317+
</glossentry>
318+
<glossentry>
319+
<glossterm>win32W</glossterm>
320+
<glossdef>
321+
<para>32 bit Windows UNICODE character encoding</para>
322+
</glossdef>
323+
</glossentry>
324+
<glossentry>
325+
<glossterm>win64</glossterm>
326+
<glossdef>
327+
<para>64 bit Windows</para>
328+
</glossdef>
329+
</glossentry>
330+
</glosslist>
331+
By default the platform which was used to compile Cppcheck is used.
332+
</para>
333+
</listitem>
334+
</varlistentry>
275335
<varlistentry>
276336
<term><option>-q</option></term>
277337
<term><option>--quiet</option></term>

0 commit comments

Comments
 (0)