diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 3c15870..67385b0 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -449,8 +449,8 @@ let banned banlist = function | _ -> mem Pdfcrypt.NoEdit banlist let operation_allowed banlist = function - | None -> flprint "no-op, allow\n"; true (* Merge *) (* changed to allow it *) - | Some op -> flprint "checking...\n"; not (banned banlist op) + | None -> true (* Merge *) (* changed to allow it *) + | Some op -> not (banned banlist op) let rec decrypt_if_necessary (a, b, c, user_pw, owner_pw) op pdf = if not (Pdfcrypt.is_encrypted pdf) then pdf else diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index b8ca4f8..201a329 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 35f72d5..d612309 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1500,9 +1500,7 @@ instance, to add a clean page between chapters of a document.) \section{List Annotations} \index{annotations!listing} The \texttt{-list-annotations} operation prints the textual content of any -annotations on the selected pages to standard output. Each annotation is -preceded by a separation marker consisting of a carriage return, a line of 80 -dashes, and another carriage return. +annotations on the selected pages to standard output. Each annotation is preceded by the page number and followed by a newline. \begin{framed} \small\verb!cpdf -list-annotations in.pdf > annots.txt!