Skip to content

Commit

Permalink
docs(index): correct stdout usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Nov 3, 2020
1 parent e075a7b commit be0bb49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class Poppler {
* @param {string} file - Filepath of the PDF file to read.
* @param {string=} outputFile - Filepath of the file to output the results to.
*
* Can be set to `'-'` to write output to stdout. Using stdout is not valid with image formats
* If `undefined` then will write output to stdout. Using stdout is not valid with image formats
* unless `options.singleFile` is set to `true`.
*
* If not set then the output filename will be derived from the PDF file name.
Expand Down Expand Up @@ -731,7 +731,7 @@ class Poppler {
*
* @param {string} file - Filepath of the PDF file to read.
* @param {string=} outputFile - Filepath of the file to output the results to.
* Can be set to `'-'` to write output to stdout.
* If `undefined` then will write output to stdout.
* @param {object=} options - Object containing options to pass to binary.
* @param {('yes'|'no')=} options.antialias - Enable anti-aliasing on rasterization, accepts `yes` or `no`.
* @param {boolean=} options.binary - Write binary data in Level 1 PostScript. By default,
Expand Down Expand Up @@ -891,7 +891,7 @@ class Poppler {
*
* @param {string} file - Filepath of the PDF file to read.
* @param {string=} outputFile - Filepath of the file to output the results to.
* Can be set to `'-'` to write output to stdout.
* If `undefined` then will write output to stdout.
* @param {object=} options - Object containing options to pass to binary.
* @param {boolean=} options.boundingBoxXhtml - Generate an XHTML file containing bounding
* box information for each word in the file.
Expand Down

0 comments on commit be0bb49

Please sign in to comment.