$Revision: 1.3 $

$Date: 2002/06/12 11:18:39 $

synopfragment — A portion of a CmdSynopsis broken out from the main body of the synopsis


Content Model

synopfragment ::=


Common attributes


A complex CmdSynopsis can be made more manageable with SynopFragments. Rather than attempting to present the entire synopsis in one large piece, parts of the synopsis can be extracted out and presented elsewhere. These extracted pieces are placed in SynopFragments at the end of the CmdSynopsis.

At the point in which each piece was extracted, insert a SynopFragmentRef that points to the fragment. The content of the reference element will be presented inline.

Processing expectations

Formatted as a displayed block.

The presentation system is responsible for generating text that makes the reader aware of the link. This can be done with numbered bullets, or any other appropriate mechanism. Whatever mark is generated for the reference must also be generated for the fragment.

Online systems have additional flexibility. They may generate hot links between the references and the fragments, for example, or place the fragments in pop-up windows.


These elements contain synopfragment: cmdsynopsis.


The following elements occur in synopfragment: arg, group.

See Also

arg, cmdsynopsis, group, refsynopsisdiv, sbr, synopfragmentref.


<!DOCTYPE cmdsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  <arg rep='repeat'>-D<replaceable>name</replaceable>
  <arg rep='repeat'>-I <replaceable>directory</replaceable></arg>
  <arg rep='repeat'>-imacros <replaceable>file</replaceable></arg>
  <arg rep='repeat'>-include <replaceable>file</replaceable></arg>
    <synopfragmentref linkend="langs">languages</synopfragmentref>
  <arg choice="plain"><synopfragmentref linkend="warn">warnings
  <group choice='req'>
  <group choice='req'>

  <synopfragment id="langs">
    <group choice="plain">

  <synopfragment id="warn">


cccp [-$] [-C] [-Dname [=definition]...] [-dD] [-dM]
[-I directory...] [-H] [-I-] [-imacros file...]
[-include file...] [(1) languages] [-lint]
[[-M] | [-MD] | [-MM] | [-MMD]] [-nostdinc] [-P] [-pedantic]
[-pedantic-errors] [-trigraphs] [-Uname]
[-undef] (2) warnings {[infile] | [-]} {[outfile] | [-]}

(1) [-lang-c] | [-lang-c++] | [-lang-objc]

(2) [-Wtrigraphs] [-Wcomment] [-Wall] [-Wtraditional]