Reduce bug reports by tweaking help text.
authorJeff Breidenbach <jab@debian.org>
Wed, 11 Jan 2023 20:20:26 +0000 (20:20 +0000)
committerAlexander Pozdnyakov <almipo@mail.ru>
Wed, 11 Jan 2023 20:20:26 +0000 (20:20 +0000)
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/tesseract.cpp

index e0697aa77f986d00d5a501bb66c72f0cbb7ce0d5..733b305c86c8f9e7b3dba6b1056385202d085c64 100644 (file)
@@ -212,7 +212,7 @@ static void PrintHelpForPSM() {
 #ifndef DISABLED_LEGACY_ENGINE
 static void PrintHelpForOEM() {
   const char *msg =
-      "OCR Engine modes:\n"
+      "OCR Engine modes: (see https://tesseract-ocr.github.io/tessdoc/#40-with-lstm)\n"
       "  0    Legacy engine only.\n"
       "  1    Neural nets LSTM engine only.\n"
       "  2    Legacy + LSTM engines.\n"