r296: Documentation updates
authoryoe <yoe>
Fri, 26 Oct 2007 18:01:51 +0000 (18:01 +0000)
committeryoe <yoe>
Fri, 26 Oct 2007 18:01:51 +0000 (18:01 +0000)
nbd-server.1.sgml
nbd-server.5.sgml

index 95ff412..266ae43 100644 (file)
@@ -57,7 +57,7 @@ manpage.1: manpage.sgml
     <cmdsynopsis>
       <command>&dhpackage; </command>
 
-      <arg choice=plain><replaceable>port</replaceable</arg>
+      <arg choice=plain><replaceable>[ip:]port</replaceable</arg>
       <arg choice=plain><replaceable>filename</replaceable></arg>
       <arg><replaceable>size</replaceable></arg>
       <arg><option>-r</option></arg>
@@ -92,6 +92,13 @@ manpage.1: manpage.sgml
     
     <variablelist>
       <varlistentry>
+       <term>ip</term>
+       <listitem>
+         <para>The ip address the server should listen on. If
+         omitted, 0.0.0.0 (aka "any address") is used.</para>
+       </listitem>
+      </varlistentry>
+      <varlistentry>
         <term><option>port</option>
         </term>
         <listitem>
index fea56cf..42ecaaf 100644 (file)
@@ -250,6 +250,17 @@ manpage.1: manpage.sgml
        </listitem>
       </varlistentry>
       <varlistentry>
+       <term>listenaddr</term>
+       <listitem>
+         <para>Optional; string</para>
+         <para>If this option is set, it should contain the local IP
+         address (in "dotted-quad" notation) on which we should
+         listen to <command>nbd-client</command>(8) connections. If
+         it is not set, 0.0.0.0 is used (i.e., "listen on all local
+         IP addresses")</para>
+       </listitem>
+      </varlistentry>
+      <varlistentry>
        <term><option>multifile</option></term>
        <listitem>
          <para>Optional; boolean.</para>