]> git.phdru.name Git - mimedecode.git/blobdiff - mimedecode.docbook
Add tests
[mimedecode.git] / mimedecode.docbook
index a91460df1e36e7e6921986d11382f7340e2e4406..0bfaf9c807ae783d0ce9b5ddc994a7c60aeb703a 100644 (file)
@@ -41,6 +41,9 @@
       <arg choice="opt">
          <option>-cCDP</option>
       </arg>
+      <arg choice="opt">
+         <option>-H|--host=hostname</option>
+      </arg>
       <arg choice="opt">
          <option>-f charset</option>
       </arg>
@@ -163,12 +166,23 @@ flushed to stdout.
       </listitem>
    </varlistentry>
 
+   <varlistentry>
+      <term>-H hostname</term>
+      <term>--host=hostname</term>
+      <listitem>
+         <para>
+           Use this hostname in X-MIME-Autoconverted headers instead of the
+           current hostname.
+         </para>
+      </listitem>
+   </varlistentry>
+
    <varlistentry>
       <term>-f charset</term>
       <listitem>
          <para>
             Force this charset to be the current default charset instead of
-            sys.getdefaultencoding().
+            the current locale.
          </para>
       </listitem>
    </varlistentry>
@@ -228,7 +242,7 @@ flushed to stdout.
       <listitem>
          <para>
             Append mask to the list of error content types; if the message to
-            decode has a part of this type the program will raise ValueError.
+            decode has a part of this type the program fails with ValueError.
          </para>
       </listitem>
    </varlistentry>
@@ -304,12 +318,14 @@ the program always uses the default decoding.
 
 <refsect1>
 <title>ENVIRONMENT</title>
+<variablelist>
+  <varlistentry><term>LANG</term></varlistentry>
+  <varlistentry><term>LC_ALL</term></varlistentry>
+  <varlistentry><term>LC_CTYPE</term></varlistentry>
+</variablelist>
 <para>
-   LANG
-   LC_ALL
-   LC_CTYPE
-      Define current locale settings. Used to determine current default
-      charset (if your Python is properly installed and configured).
+  Define current locale settings. Used to determine current default charset (if
+  your Python is properly installed and configured).
 </para>
 </refsect1>
 
@@ -323,7 +339,7 @@ correct MIME output. The incorrect parts are obvious - decoded Subject headers
 and filenames. Other than that output is correct MIME message. The program does
 not try to guess whether the headers are correct. For example, if a message
 header states that charset is iso8859-5, but the body is actually in koi8-r -
-the program will recode the message to the wrong charset.
+the program will recode the message with the wrong charset.
 </para>
 </refsect1>
 
@@ -341,7 +357,7 @@ the program will recode the message to the wrong charset.
 <refsect1>
 <title>COPYRIGHT</title>
 <para>
-   Copyright (C) 2001-2014 PhiloSoft Design
+  Copyright (C) 2001-2014 PhiloSoft Design.
 </para>
 </refsect1>