diff --git a/cpdfcommand.ml b/cpdfcommand.ml index a5578d8..bf3a4ce 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3932,7 +3932,7 @@ let go () = let range = parse_pagespec pdf pagespec in let pdf = Cpdf.crop_pdf ~box:"/ArtBox" xywhlist pdf range in write_pdf false pdf - | _ -> error "crop: bad command line" + | _ -> error "art: bad command line" end | Some Bleed -> begin match args.inputs, args.out with @@ -3942,7 +3942,7 @@ let go () = let range = parse_pagespec pdf pagespec in let pdf = Cpdf.crop_pdf ~box:"/BleedBox" xywhlist pdf range in write_pdf false pdf - | _ -> error "crop: bad command line" + | _ -> error "bleed: bad command line" end | Some Trim -> begin match args.inputs, args.out with @@ -3952,7 +3952,7 @@ let go () = let range = parse_pagespec pdf pagespec in let pdf = Cpdf.crop_pdf ~box:"/TrimBox" xywhlist pdf range in write_pdf false pdf - | _ -> error "crop: bad command line" + | _ -> error "trim: bad command line" end | Some MediaBox -> begin match args.inputs, args.out with diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index d0ea089..1e113a9 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 9b04189..1e838a4 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -751,7 +751,8 @@ The encryption parameters described in Chapter \ref{encryption} may be added to \noindent\verb! in.pdf [] -o out.pdf! \vspace{1.5mm} - \small\noindent\verb!cpdf -hard-box [-fast] in.pdf [] [-mediabox-if-missing] -o out.pdf! + \small\noindent\verb!cpdf -hard-box [-fast] in.pdf []!\\ + \small\noindent\verb! [-mediabox-if-missing] -o out.pdf! \vspace{1.5mm} \small\noindent\verb!cpdf -show-boxes [-fast] in.pdf [] -o out.pdf!