]> git.phdru.name Git - mimedecode.git/blobdiff - mimedecode.docbook
Add option -I to completely ignore a part
[mimedecode.git] / mimedecode.docbook
index d01f49226af55735cd35bbcfcb8fec98c3640f94..61a30b863710625d4256011ababe3435c5f589c3 100644 (file)
@@ -90,7 +90,7 @@
          <option>--set-param header:param=value</option>
       </arg>
       <arg choice="opt">
-         <option>-Bbeit mask</option>
+         <option>-BbeIit mask</option>
       </arg>
       <arg choice="opt">
          <option>--save-headers|body|message mask</option>
       </listitem>
    </varlistentry>
 
+   <varlistentry>
+      <term>-I mask</term>
+      <listitem>
+         <para>
+            Append mask to the list of content types to completely ignore.
+            There will be no output - no headers, no body, no warning. For a
+            multipart part the entire subtree is removed.
+         </para>
+      </listitem>
+   </varlistentry>
+
    <varlistentry>
       <term>-i mask</term>
       <listitem>
@@ -521,9 +532,9 @@ cat input_file | mimedecode.py -o output_file</programlisting>
 </para>
 
 <para>
-  Options -e/-i can also work with multipart subparts of a MIME message. In
-  case of -i the entire subtree of that multipart is removed and replaced with
-  ignore warning.
+  Options -e/-I/-i can also work with multipart subparts of a MIME message. In
+  case of -I/-i the entire subtree of that multipart is removed; with -i it's
+  replaced with ignore warning.
 </para>
 
 <para>