X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=0346b2bd36b9c80df81eef5b6932eded46ebcbf3;hb=ca5e61cffb72085ff108d6e2e7fa163ff5d6238b;hp=4cbd688f4535900ad77716890ed4f7920b17da75;hpb=68284da58382c25f607b161f95a7baf05d178bdc;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index 4cbd688..0346b2b 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -54,7 +54,12 @@ - + + + + + + @@ -137,6 +142,13 @@ + + + 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. + + OPTIONS @@ -222,32 +234,55 @@ this mode it would be meaningless to give more than one -d options but the program doesn't enforce it. + + + + -D + - 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). - -D + -p header1[,header2,header3,...]:param1[,param2,param3,...] - 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". - -p header:param + -p *[,-header1,-header2,-header3,...]:param1[,param2,param3,...] - 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. + + + + + + -p header1[,header2,header3,...]:*[,-param1,-param2,-param3,...] + + + Decode all parameters except listed for the given list of headers. + + + + + + -p *[,-header1,-header2,-header3,...]:*[,-param1,-param2,-param3,...] + + + Decode all parameters except listed for all headers (except listed).