1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 12:40:08 +00:00

Adjusted the message for tmp-dir

Added my name in Author
This commit is contained in:
Marc Sanfacon 2013-12-06 08:29:53 -05:00
parent 762281ed5b
commit 4ffb2abb19
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ John Hewson <john@jahewson.com>
Michele Redolfi <michele@tecnicaict.com> Michele Redolfi <michele@tecnicaict.com>
Mick Giles <mick@mickgiles.com> Mick Giles <mick@mickgiles.com>
Ryan Morlok <ryan.morlok@morlok.com> Ryan Morlok <ryan.morlok@morlok.com>
Marc Sanfacon <marc.sanfacon@gmail.com>
Packagers: Packagers:
Arthur Titeica <arthur.titeica@gmail.com> Arthur Titeica <arthur.titeica@gmail.com>

View File

@ -210,7 +210,7 @@ void parse_options (int argc, char **argv)
// misc. // misc.
.add("clean-tmp", &param.clean_tmp, 1, "remove temporary files after conversion") .add("clean-tmp", &param.clean_tmp, 1, "remove temporary files after conversion")
.add("base-tmp-dir", &param.basetmp_dir, param.basetmp_dir, "base temporary directory - will create pdf2htmlEX-XXXXXX under it") .add("tmp-dir", &param.basetmp_dir, param.basetmp_dir, "specify the location of tempory directory.")
.add("data-dir", &param.data_dir, param.data_dir, "specify data directory") .add("data-dir", &param.data_dir, param.data_dir, "specify data directory")
// TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings // TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings
// .add("css-draw", &param.css_draw, 0, "[experimental and unsupported] CSS drawing") // .add("css-draw", &param.css_draw, 0, "[experimental and unsupported] CSS drawing")
@ -360,6 +360,7 @@ void check_param()
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// We need to adjust these directories before parsing the options.
#ifndef _WIN32 #ifndef _WIN32
param.basetmp_dir = "/tmp"; param.basetmp_dir = "/tmp";
param.data_dir = PDF2HTMLEX_DATA_PATH; param.data_dir = PDF2HTMLEX_DATA_PATH;