This commit is contained in:
John Whitington 2020-12-11 19:01:02 +00:00
parent 182a812141
commit cc12dea5e6
1 changed files with 18 additions and 6 deletions

View File

@ -2121,11 +2121,24 @@ and specs =
("-postpend-content", ("-postpend-content",
Arg.String setpostpend, Arg.String setpostpend,
" Postpend content to page"); " Postpend content to page");
("-gs", Arg.String setgspath, " Path to gs executable"); ("-gs",
("-gs-malformed", Arg.Unit setgsmalformed, " Also try to reconstruct malformed files with gs"); Arg.String setgspath,
("-gs-quiet", Arg.Unit setgsquiet, " Make gs go into quiet mode"); " Path to gs executable");
("-im", Arg.String setimpath, " Path to imagemagick executable"); ("-gs-malformed",
("-p2p", Arg.String setp2ppath, " Path to pnmtopng executable"); Arg.Unit setgsmalformed,
" Also try to reconstruct malformed files with gs");
("-gs-quiet",
Arg.Unit setgsquiet,
" Make gs go into quiet mode");
("-im",
Arg.String setimpath,
" Path to imagemagick executable");
("-p2p",
Arg.String setp2ppath,
" Path to pnmtopng executable");
("-extract-images",
Arg.Unit (setop ExtractImages),
" Extract images to file");
("-squeeze", Arg.Unit setsqueeze, " Squeeze"); ("-squeeze", Arg.Unit setsqueeze, " Squeeze");
("-squeeze-log-to", Arg.String setsqueezelogto, " Squeeze log location"); ("-squeeze-log-to", Arg.String setsqueezelogto, " Squeeze log location");
("-squeeze-no-pagedata", Arg.Unit setsqueezepagedata, " Don't recompress pages"); ("-squeeze-no-pagedata", Arg.Unit setsqueezepagedata, " Don't recompress pages");
@ -2147,7 +2160,6 @@ and specs =
("-remove-unused-resources", Arg.Unit (setop RemoveUnusedResources), ""); ("-remove-unused-resources", Arg.Unit (setop RemoveUnusedResources), "");
("-stay-on-error", Arg.Unit setstayonerror, ""); ("-stay-on-error", Arg.Unit setstayonerror, "");
("-extract-fontfile", Arg.Unit (setop ExtractFontFile), ""); ("-extract-fontfile", Arg.Unit (setop ExtractFontFile), "");
("-extract-images", Arg.Unit (setop ExtractImages), "");
("-csp1", Arg.Unit (setop CSP1), ""); ("-csp1", Arg.Unit (setop CSP1), "");
("-csp2", Arg.Float setcsp2, ""); ("-csp2", Arg.Float setcsp2, "");
("-csp3", Arg.Unit (setop CSP3), ""); ("-csp3", Arg.Unit (setop CSP3), "");