]> granicus.if.org Git - docbook-dsssl/commitdiff
multiple command in cmdsynopsis, with command names of varied
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 25 Oct 2004 20:59:16 +0000 (20:59 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 25 Oct 2004 20:59:16 +0000 (20:59 +0000)
length and with heaps of options for each

testdocs/tests/cmdsynopsis.001.xml

index 1090893aa3ba4393e48612caa359d142af0e7c14..382988a13e971f2a2c8b6a164b9076804c04f0c2 100644 (file)
@@ -13,7 +13,8 @@
 <refentry id="minimal">
 <refnamediv>
 <refname>cccp</refname>
-<refpurpose>The C++ preprocessor</refpurpose>
+<refname>zzzzzzp</refname>
+<refpurpose>The C++/ZZZ++ preprocessors</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
     <arg>-Wtraditional</arg>
   </synopfragment>
 
+</cmdsynopsis>
+<cmdsynopsis>
+  <command>zzzzzzp</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="langsz">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="warnz">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="langsz">
+    <group choice="plain">
+      <arg>-lang-zzz</arg>
+      <arg>-lang-zzz++</arg>
+      <arg>-lang-objzzz</arg>
+    </group>
+  </synopfragment>
+
+  <synopfragment id="warnz">
+    <arg>-Wtrigraphs</arg>
+    <arg>-Wcomment</arg>
+    <arg>-Wall</arg>
+    <arg>-Wtraditional</arg>
+  </synopfragment>
+
 </cmdsynopsis>
 </refsynopsisdiv>