<option>-H|--host=hostname</option>
</arg>
<arg choice="opt">
- <option>-d header</option>
+ <option>-d header1[,header2,header3...]</option>
+ </arg>
+ <arg choice="opt">
+ <option>-d *[,-header1,-header2,-header3...]</option>
</arg>
<arg choice="opt">
<option>-p header:param</option>
<arg choice="opt">
<option>-R header:param</option>
</arg>
+ <arg choice="opt">
+ <option>--remove-params=header</option>
+ </arg>
<arg choice="opt">
<option>-beit mask</option>
</arg>
</varlistentry>
<varlistentry>
- <term>-d header</term>
+ <term>-d header1[,header2,header3...]</term>
<listitem>
<para>
- Add the header to a list of headers to decode; initially the list
- contains headers "From", "To", "Cc", "Reply-To", "Mail-Followup-To"
- and "Subject".
+ Add the header(s) to a list of headers to decode; initially the
+ list contains headers "From", "To", "Cc", "Reply-To",
+ "Mail-Followup-To" and "Subject".
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-d *[,-header1,-header2,-header3...]</term>
+ <listitem>
+ <para>
+ This variant completely changes headers decoding. First, the list of
+ headers to decode is cleared. Then all the headers are decoded
+ except the given list of exceptions (headers listed with '-'). In
+ this mode it would be meaningless to give more than one -d options
+ but the program doesn't enforce it.
+ </para>
+
+ <para>
+ Please be warned that the asterisk is a shell metacharacter and
+ should be escaped or quoted. Either write -d \*,-h1,-h2 or -d
+ '*,-h1,-h2'.
</para>
</listitem>
</varlistentry>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>--remove-params=header</term>
+ <listitem>
+ <para>
+ Add the header to a list of headers from which all parameters will
+ be removed; initially the list is empty.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term>-b mask</term>
<listitem>