1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

Renamed output-size-limit to tmp-file-size-limit

Added information to man
This commit is contained in:
Marc Sanfacon 2013-12-14 17:38:02 -05:00
parent 039e528d0d
commit 42fea5b1ad
2 changed files with 12 additions and 1 deletions

View File

@ -82,6 +82,13 @@ This switch is useful if you want pages to be loaded separately & dynamically --
Also see --page-filename.
.TP
.B --tmp-file-size-limit <limit> (Default: -1)
This limits the total size of the temporary files which will also limit the total size of the output file.
This is an estimate and it will stop after a page, once the total temporary files size is greater than this number.
-1 means no limit and is the default.
.TP
.B --dest-dir <dir> (Default: .)
Specify destination folder.
@ -262,6 +269,10 @@ If switched off, intermediate files won't be cleaned in the end.
.B --data-dir <dir> (Default: @CMAKE_INSTALL_PREFIX@/share/pdf2htmlEX)
Specify the folder holding the manifest and other files (see below for the manifest file)`
.TP
.B --tmp-dir <dir> (Default: /tmp)
Specify the temporary folder to use for temporary files
.TP
.B --css-draw <0|1> (Default: 0)
Experimental and unsupported CSS drawing

View File

@ -169,7 +169,7 @@ void parse_options (int argc, char **argv)
.add("embed-image", &param.embed_image, 1, "embed image files into output")
.add("embed-javascript", &param.embed_javascript, 1, "embed JavaScript files into output")
.add("embed-outline", &param.embed_outline, 1, "embed outlines into output")
.add("output-size-limit", &param.max_size, -1, "Limit the output size, in KB (-1 for no limit). This is only an estimate, the output may be bigger")
.add("tmp-file-size-limit", &param.max_size, -1, "Limit the temporary file output size, in KB (-1 for no limit). This is only an estimate, the output may be bigger")
.add("split-pages", &param.split_pages, 0, "split pages into separate files")
.add("dest-dir", &param.dest_dir, ".", "specify destination directory")
.add("css-filename", &param.css_filename, "", "filename of the generated css file")