<option>-d *[,-header1,-header2,-header3...]</option>
</arg>
<arg choice="opt">
- <option>-p header:param</option>
+ <option>-p header1[,header2,header3,...]:param1[,param2,param3,...]</option>
+ </arg>
+ <arg choice="opt">
+ <option>-p *[,-header1,-header2,-header3,...]:param1[,param2,param3,...]</option>
+ <option>-p header1[,header2,header3,...]:*[,-param1,-param2,-param3,...]</option>
+ <option>-p *[,-header1,-header2,-header3,...]:*[,-param1,-param2,-param3,...]</option>
</arg>
<arg choice="opt">
<option>-r header</option>
</para>
</refsect1>
+<refsect1>
+ <para>
+ Please be warned that in the following options asterisk is a shell
+ metacharacter and should be escaped or quoted. Either write -d \*,-h1,-h2
+ or -d '*,-h1,-h2' or such.
+ </para>
+</refsect1>
<refsect1>
<title>OPTIONS</title>
this mode it would be meaningless to give more than one -d options
but the program doesn't enforce it.
</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-D</term>
+ <listitem>
<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'.
+ Clear the list of headers to decode (make it empty).
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>-D</term>
+ <term>-p header1[,header2,header3,...]:param1[,param2,param3,...]</term>
<listitem>
<para>
- Clear the list of headers to decode (make it empty).
+ Add the parameters(s) to a list of headers parameters to decode;
+ the parameters will be decoded only for the given header(s).
+ Initially the list contains header "Content-Type", parameter "name";
+ and header "Content-Disposition", parameter "filename".
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>-p header:param</term>
+ <term>-p *[,-header1,-header2,-header3,...]:param1[,param2,param3,...]</term>
<listitem>
<para>
- Add the pair (header, param) to a list of headers parameters to
- decode; initially the list contains header "Content-Type",
- parameter "name" and header "Content-Disposition", parameter
- "filename".
+ Add the parameters(s) to a list of headers parameters to decode;
+ the parameters will be decoded for all headers except the given
+ ones.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-p header1[,header2,header3,...]:*[,-param1,-param2,-param3,...]</term>
+ <listitem>
+ <para>
+ Decode all parameters except listed for the given list of headers.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-p *[,-header1,-header2,-header3,...]:*[,-param1,-param2,-param3,...]</term>
+ <listitem>
+ <para>
+ Decode all parameters except listed for all headers (except listed).
</para>
</listitem>
</varlistentry>