From e357fcea907462eaf06f20f8f9312e979f9bd4b7 Mon Sep 17 00:00:00 2001 From: Jeff Breidenbach Date: Thu, 23 Jun 2022 10:16:38 +0800 Subject: [PATCH] Reduce bug reports by tweaking help text. Some advanced modes require data not shipped by distribution. Adjust documentation to reduce confusion from that. tesseract (4.00~git2188-cdc35338-5) unstable; urgency=medium * Update README.debian and move to tesseract-ocr package. * Sponsor Alexander Pozdnyakov as maintainer. * Tweak tesseact --help to reduce bug reports. Gbp-Pq: Name helptext --- src/api/tesseractmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/tesseractmain.cpp b/src/api/tesseractmain.cpp index 945cafa..1230af4 100644 --- a/src/api/tesseractmain.cpp +++ b/src/api/tesseractmain.cpp @@ -183,7 +183,7 @@ static void PrintHelpForPSM() { #ifndef DISABLED_LEGACY_ENGINE static void PrintHelpForOEM() { const char* msg = - "OCR Engine modes:\n" + "OCR Engine modes: (see https://github.com/tesseract-ocr/tesseract/wiki#linux)\n" " 0 Legacy engine only.\n" " 1 Neural nets LSTM engine only.\n" " 2 Legacy + LSTM engines.\n"