]> git.proxmox.com Git - mirror_lxc.git/blobdiff - doc/lxc-wait.sgml.in
change man pages to use a common file for common options
[mirror_lxc.git] / doc / lxc-wait.sgml.in
index 5dc3566283c6402706619ab18549dab4aa9ac338..97a4c3987bde4a6a0c800921b54f2026393a6270 100644 (file)
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 <!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
 
+<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
 ]>
 
@@ -66,17 +67,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     <title>Options</title>
     <variablelist>
 
-      <varlistentry>
-       <term>
-         <option>-n <replaceable>name</replaceable></option>
-       </term>
-       <listitem>
-         <para>
-           Specify the container name to be waited.
-         </para>
-       </listitem>
-      </varlistentry>
-
       <varlistentry>
        <term>
          <option>-s <replaceable>states</replaceable></option>
@@ -93,6 +83,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title>Examples</title>
     <variablelist>
@@ -106,7 +98,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
       </varlistentry>
 
       <varlistentry>
-       <term>lxc-wait -n 'RUNNING|STOPPED'</term>
+       <term>lxc-wait -n foo -s 'RUNNING|STOPPED'</term>
        <listitem>
        <para>
          exits when 'RUNNING' or 'STOPPED' state is reached.