From 559af9635fa3e7afbeb9db66e2eae05d09b9d6ff Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 12 May 2017 12:08:16 -0700 Subject: [PATCH] =?UTF-8?q?=E2=80=94redo-ocr=20is=20not=20implemented,=20s?= =?UTF-8?q?o=20disable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocrmypdf/__main__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocrmypdf/__main__.py b/ocrmypdf/__main__.py index ccb1b421..83befef8 100755 --- a/ocrmypdf/__main__.py +++ b/ocrmypdf/__main__.py @@ -220,10 +220,10 @@ ocrsettings.add_argument( help="Skip OCR on any pages that already contain text, but include the " "page in final output; useful for PDFs that contain a mix of " "images, text pages, and/or previously OCRed pages") -ocrsettings.add_argument( - '--redo-ocr', action='store_true', - help="removing any existing OCR text, but otherwise preserve mixed PDF " - "pages") +# ocrsettings.add_argument( +# '--redo-ocr', action='store_true', +# help="removing any existing OCR text, but otherwise preserve mixed PDF " +# "pages") ocrsettings.add_argument( '--skip-big', type=float, metavar='MPixels',