Reduce bug reports by tweaking help text.
authorJeff Breidenbach <jab@debian.org>
Thu, 2 Jun 2022 19:56:14 +0000 (20:56 +0100)
committerAlexander Pozdnyakov <almipo@mail.ru>
Thu, 2 Jun 2022 19:56:14 +0000 (20:56 +0100)
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 9154db80a6eb7d8ec52e6ea8535f8082570b885e..60112d660570e6051f3da175d86908bc8a767afd 100644 (file)
@@ -209,7 +209,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"