This commit is contained in:
John Whitington 2021-10-15 17:36:11 +01:00
parent a5c3574794
commit c9bd93e42e
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
(* cpdf command line tools *) (* cpdf command line tools *)
let demo = false
let noncomp = false let noncomp = false
let major_version = 2 let major_version = 2
let minor_version = 5 let minor_version = 5
@ -4377,6 +4378,8 @@ let go_withargv argv =
exit 0 exit 0
| _ -> | _ ->
Hashtbl.clear filenames; Hashtbl.clear filenames;
if demo then
flprint "This demo is for evaluation only. http://www.coherentpdf.com/\n";
if noncomp then if noncomp then
begin begin
prerr_string "For non-commercial use only\n"; prerr_string "For non-commercial use only\n";