X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=401197944585dd8bcc1656d430a7841dbdc3a89d;hb=fa2d7bb797e9f0735f299cd19192ac3782475a96;hp=75ec36798b496bf80a167002f8ee25719b07043f;hpb=db0cd67905f741dcf93af7706c282afadf051718;p=mimedecode.git
diff --git a/mimedecode.docbook b/mimedecode.docbook
index 75ec367..4011979 100644
--- a/mimedecode.docbook
+++ b/mimedecode.docbook
@@ -58,7 +58,11 @@
+
+
+
+
@@ -68,13 +72,25 @@
-
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
@@ -319,21 +335,50 @@
- -R header:param
+ -R header1[,header2,header3,...]:param1[,param2,param3,...]
+
+
+ Add the parameters(s) to a list of headers parameters to remove;
+ the parameters will be decoded only for the given header(s).
+ Initially the list is empty.
+
+
+
+
+
+ -R *[,-header1,-header2,-header3,...]:param1[,param2,param3,...]
+
+
+
+ -R header1[,header2,header3,...]:*[,-param1,-param2,-param3,...]
+
+
+
+ -R *[,-header1,-header2,-header3,...]:*[,-param1,-param2,-param3,...]
+
+
+ Remove listed parameters (or all parameters except listed) frome
+ these headers (or from all headers except listed).
+
+
+
+
+
+ --set-header header:value
- Add the pair (header, param) to a list of headers parameters to
- remove; initially the list is empty.
+ The program sets or changes value for the header to the given value
+ (only at the top-level message).
- --remove-params=header
+ --set-param header:param=value
- Add the header to a list of headers from which all parameters will
- be removed; initially the list is empty.
+ The program sets or changes value for the header's parameter to the
+ given value (only at the top-level message). The header must exist.
@@ -349,6 +394,16 @@
+
+ -B mask
+
+
+ Append mask to the list of binary content types that will be not
+ content-transfer-decoded (will be left as base64 or such).
+
+
+
+
-e mask
@@ -395,7 +450,7 @@ cat input_file | mimedecode.py -o output_file
- The 4 list options (-beit) require more explanation. They allow a user to
+ The 5 list options (-Bbeit) 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