Rework small bits of the legacy-app-handler documentation
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 31 Jul 2012 15:12:24 +0000 (16:12 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 31 Jul 2012 15:12:24 +0000 (16:12 +0100)
docs/reference/node-startup-controller/legacy-app-handler.xml

index e43f11c..f87ab8d 100644 (file)
@@ -17,9 +17,9 @@
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>legacy-app-handler</command>
-      <arg><option>--unit</option> <replaceable>unit-file</replaceable></arg>
-      <arg><option>--timeout</option> <replaceable>timeout</replaceable></arg>
-      <arg><option>--shutdown-mode</option> <replaceable>mode</replaceable></arg>
+      <arg choice="plain"><option>--unit</option> <replaceable>UNIT</replaceable></arg>
+      <arg choice="plain"><option>--shutdown-mode</option> <replaceable>MODE</replaceable></arg>
+      <arg><option>--timeout</option> <replaceable>TIMEOUT</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
           </para></listitem>
         </varlistentry>
         <varlistentry>
-          <term><option>-t</option>, <option>--timeout</option></term>
+          <term><option>-m</option>, <option>--shutdown-mode</option></term>
           <listitem><para>
-            The amount of time in milliseconds the Node State Manager will wait until it
-            considers shutdown to have failed.
+            The <link linkend="NSMShutdownType">NSMShutdownType</link> of the shutdown
+            mode to register the app with.
           </para></listitem>
         </varlistentry>
         <varlistentry>
-          <term><option>-m</option>, <option>--shutdown-mode</option></term>
+          <term><option>-t</option>, <option>--timeout</option></term>
           <listitem><para>
-            The <link linkend="NSMShutdownType">NSMShutdownType</link> of the shutdown
-            mode to register the app with.
+            The amount of time in milliseconds the Node State Manager will wait until it
+            considers shutdown to have failed.
           </para></listitem>
         </varlistentry>
       </variablelist>