Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✏️ Document savefile parameter for hocr-pdf #126

Merged
merged 2 commits into from
Jun 6, 2018

Conversation

zuphilip
Copy link
Collaborator

@zuphilip zuphilip commented Jun 5, 2018

No description provided.

README.md Outdated
@@ -190,10 +190,11 @@ Merges the Dublin Core metadata into the hOCR file by encoding the data in its h
### hocr-pdf

```
Usage: hocr-pdf <imgdir>
hocr-pdf <imgdir> > out.pdf
hocr-pdf <imgdir> --savefile out.pdf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The help text shows a different order:

usage: hocr-pdf [-h] [--savefile SAVEFILE] imgdir

Create a searchable PDF from a pile of hOCR and JPEG

positional arguments:
  imgdir               directory with the hOCR and JPEG files (corresponding
                       JPEG and hOCR files have to have the same name with
                       their respective file ending)

optional arguments:
  -h, --help           show this help message and exit
  --savefile SAVEFILE  Save to this file instead of outputting to stdout

@zuphilip
Copy link
Collaborator Author

zuphilip commented Jun 5, 2018

Good catch! I updated the order. Okay?

@stweil stweil merged commit 036e1e5 into master Jun 6, 2018
@stweil
Copy link
Collaborator

stweil commented Jun 6, 2018

Thank you, Philipp.

@zuphilip zuphilip deleted the document-savefile-parameter branch June 6, 2018 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants