Reduce bug reports by tweaking help text.
authorJeff Breidenbach <jab@debian.org>
Mon, 21 Jan 2019 16:40:07 +0000 (16:40 +0000)
committerAlexander Pozdnyakov <almipo@mail.ru>
Mon, 21 Jan 2019 16:40:07 +0000 (16:40 +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 5fd2cf63391c7c78a7dbdb991b2029d8e836d35a..9d7d710e9641499474b76a521b730cd6c5c2516a 100644 (file)
@@ -149,7 +149,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"