<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>
<arg><option>-c</option></arg>
<arg><option>-a <replaceable>timeout</replaceable></option></arg>
<arg><option>-l <replaceable>host list</replaceable></option></arg>
+ <arg><option>-o <replaceable>section name</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<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>
root-directory.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>section name</option></term>
+ <listitem>
+ <para>If the <option>-o</option> argument is given on the
+ command line, then &dhpackage; will output a configuration
+ file section with this as the header that is functionally
+ equivalent to the other options specified on the command line,
+ and exit. This is useful for migrating pre-2.9 nbd-server
+ initscript configuration files to the new format.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>