Reduce bug reports by tweaking help text.
authorJeff Breidenbach <jab@debian.org>
Sun, 19 Jan 2020 05:48:59 +0000 (05:48 +0000)
committerAlexander Pozdnyakov <almipo@mail.ru>
Sun, 19 Jan 2020 05:48:59 +0000 (05:48 +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/api/tesseractmain.cpp

index 945cafa5347339a756d347c2543d66fa13e49f11..1230af49c320996f303f233ede6c81e697e4f89f 100644 (file)
@@ -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"