Imported Upstream version 3.3.0
[debian/amanda] / man / xml-source / amservice.8.xml
index 4bd3cd8813da8bab4c518025f9b6a745440f8d3e..d0817572939539e9b0f3ff7b341e32765b653202 100644 (file)
@@ -29,7 +29,7 @@
 <refsynopsisdiv>
 <cmdsynopsis>
   <command>amservice</command>    
-    <arg choice='opt'><arg choice='plain'>-f</arg><arg choice='plain'><replaceable>input_file</replaceable></arg></arg>
+    <arg choice='opt'><arg choice='plain'>-f</arg><arg choice='plain'><replaceable>input_file</replaceable></arg><arg choice='opt'>-s</arg></arg>
     &configoverride.synopsis;
     <arg choice='plain'><replaceable>hostname</replaceable></arg>
     <arg choice='plain'><replaceable>auth</replaceable></arg>
@@ -77,6 +77,13 @@ The client must be configured with this auth.</para>
   </listitem>
   </varlistentry>
 
+  <varlistentry>
+  <term><option>-s</option></term>
+  <listitem>
+<para>Redirect the first connected stream to stdin/stdout. The -f argument is required for the REQ packet, the REP packet is not printed on stdout.</para>
+  </listitem>
+  </varlistentry>
+
   &configoverride.varlistentry;
 
 </variablelist>
@@ -85,7 +92,8 @@ The client must be configured with this auth.</para>
 <refsect1><title>EXAMPLE</title>
 
 <para>The noop service is easy to execute because it does not require a REQ packet:</para>
-<programlisting>amservice hostname bsdtcp noop &lt; /dev/null</programlisting>
+<programlisting>amservice hostname bsdtcp noop &lt; /dev/null
+</programlisting>
 <para>The example executes the noop service on the client using bsdtcp auth.
 This is useful for debugging connection problems.
 It print an OPTIONS line upon success.</para>