<arg choice="opt">
<option>-beit mask</option>
</arg>
- <arg choice="opt">filename</arg>
+ <arg choice="opt">
+ <option>-o output_file</option>
+ </arg>
+ <arg choice="opt">input_file
+ <arg choice="opt">output_file</arg>
+ </arg>
</cmdsynopsis>
</refsynopsisdiv>
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>-o output_file</term>
+ <listitem>
+ <para>
+ Useful to set the output file in case of redirected stdin:
+ <programlisting language="sh">mimedecode.py -o output_file < input_file
+cat input_file | mimedecode.py -o output_file</programlisting>
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>
- The last 4 options (-beit) require more explanation. They allow a user
+ The 4 list options (-beit) require more explanation. They allow a user
to control body decoding with great flexibility. Think about said mail
archive; for example, its maintainer wants to put there only texts, convert
Postscript/PDF to text, pass HTML and images as is, and ignore everything
</para>
<para>
-<code language="shell">
+<code language="sh">
mimedecode.py -t application/postscript -t application/pdf -b text/html
-b 'image/*' -i '*/*'
</code>
<refsect1>
<title>COPYRIGHT</title>
<para>
- Copyright (C) 2001-2009 PhiloSoft Design
+ Copyright (C) 2001-2014 PhiloSoft Design
</para>
</refsect1>