synopfragment.example.1.sgm [plain text]
<!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<cmdsynopsis>
<command>cccp</command>
<arg>-$</arg>
<arg>-C</arg>
<arg rep=repeat>-D<replaceable>name</replaceable>
<arg>=<replaceable>definition</replaceable></arg></arg>
<arg>-dD</arg>
<arg>-dM</arg>
<sbr>
<arg rep=repeat>-I <replaceable>directory</replaceable></arg>
<arg>-H</arg>
<arg>-I-</arg>
<arg rep=repeat>-imacros <replaceable>file</replaceable></arg>
<sbr>
<arg rep=repeat>-include <replaceable>file</replaceable></arg>
<group>
<synopfragmentref linkend="langs">languages</synopfragmentref>
</group>
<arg>-lint</arg>
<sbr>
<group>
<arg>-M</arg>
<arg>-MD</arg>
<arg>-MM</arg>
<arg>-MMD</arg>
</group>
<arg>-nostdinc</arg>
<arg>-P</arg>
<arg>-pedantic</arg>
<sbr>
<arg>-pedantic-errors</arg>
<arg>-trigraphs</arg>
<arg>-U<replaceable>name</replaceable></arg>
<sbr>
<arg>-undef</arg>
<arg choice="plain"><synopfragmentref linkend="warn">warnings
</synopfragmentref></arg>
<group choice=req>
<arg><replaceable>infile</replaceable></arg>
<arg>-</arg>
</group>
<group choice=req>
<arg><replaceable>outfile</replaceable></arg>
<arg>-</arg>
</group>
<synopfragment id="langs">
<group choice="plain">
<arg>-lang-c</arg>
<arg>-lang-c++</arg>
<arg>-lang-objc</arg>
</group>
</synopfragment>
<synopfragment id="warn">
<arg>-Wtrigraphs</arg>
<arg>-Wcomment</arg>
<arg>-Wall</arg>
<arg>-Wtraditional</arg>
</synopfragment>
</cmdsynopsis>