From: Jeff Breidenbach Date: Sun, 19 Jan 2020 05:48:59 +0000 (+0100) Subject: Reduce bug reports by tweaking help text. X-Git-Tag: archive/raspbian/4.1.1-2.1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=75bdf6684ea244ff37c340f6af26cc9b9f250b10;p=tesseract.git 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 --- 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"