diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 0a6ca1c..145224c 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3606,7 +3606,7 @@ let go () = let fixid s = implode (rev (tl (rev (tl (explode s))))) in if args.format_json then json =| ("ID", if ida ^ idb = "" then `Null else `List [`String (fixid ida); `String (fixid idb)]) - else (if ida ^ idb = "" then Printf.printf "ID: None" else Printf.printf "ID: %s %s\n" ida idb); + else (if ida ^ idb = "" then Printf.printf "ID: None\n" else Printf.printf "ID: %s %s\n" ida idb); let pdf = decrypt_if_necessary input (Some Info) pdf in if args.format_json then begin diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 192f1ea..f4a7148 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 15e950f..1acac91 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -2983,7 +2983,7 @@ annotations on the selected pages to standard output. Each annotation is precede ] \end{verbatim}} -\noindent Extra objects required for annotations, but which are not annotations themselves are also extracted. They omit the page number, being just a pair of the object number and object. The CPDFJSON format is described on page \pageref{cpdfjson}. +\noindent Extra objects required for annotations, but which are not annotations themselves are also extracted. They omit the page number, being just a pair of the object number and object. The CPDFJSON format is described on page \pageref{cpdfjson}. There is an additional object, -1, which gives the CPDF annotation format version, currently 1. \section{Setting annotations}