From 3c00178ef471195240d0d74ce303060e9778fa28 Mon Sep 17 00:00:00 2001 From: Geza Kovacs Date: Wed, 21 Aug 2013 00:29:29 -0700 Subject: [PATCH] updated manpage --- pdfocr.1 | 15 +++++++++------ pdfocr.rb | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pdfocr.1 b/pdfocr.1 index cbe0dc4..499feaf 100644 --- a/pdfocr.1 +++ b/pdfocr.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. -.TH PDFOCR "1" "March 2013" "pdfocr 0.1.3" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. +.TH PDFOCR.RB "1" "August 2013" "pdfocr.rb 0.1.4" "User Commands" .SH NAME pdfocr \- Adds OCR text layer to scanned PDF files .SH SYNOPSIS @@ -14,14 +14,17 @@ Specify input PDF file \fB\-o\fR, \fB\-\-output\fR [FILE] Specify output PDF file .TP +\fB\-t\fR, \fB\-\-tesseract\fR +Use tesseract as the OCR engine (default) +.TP \fB\-c\fR, \fB\-\-cuneiform\fR -Use cuneiform instead of ocropus +Use cuneiform as the OCR engine .TP -\fB\-t\fR, \fB\-\-tesseract\fR -Use tesseract instead of ocropus +\fB\-p\fR, \fB\-\-ocropus\fR +Use ocropus as the OCR engine .TP \fB\-l\fR, \fB\-\-lang\fR [LANG] -Specify language for OCR software +Specify language for the OCR software .TP \fB\-w\fR, \fB\-\-workingdir\fR [DIR] Specify directory to store temp files in diff --git a/pdfocr.rb b/pdfocr.rb index 472ef4d..6171bcd 100755 --- a/pdfocr.rb +++ b/pdfocr.rb @@ -65,7 +65,7 @@ def rmdir(dirn) end appname = 'pdfocr' -version = [0,1,3] +version = [0,1,4] infile = nil outfile = nil deletedir = true