Skip to content

fix: PrintVariables TSV output - #4648

Open
SomSamantray wants to merge 3 commits into
tesseract-ocr:mainfrom
SomSamantray:fix-4520-printvariables-tsv-20261011
Open

SomSamantray wants to merge 3 commits into
tesseract-ocr:mainfrom
SomSamantray:fix-4520-printvariables-tsv-20261011

Conversation

@SomSamantray

Copy link
Copy Markdown
Contributor

Parameter listings now start with the TSV columns "Variable name", Value, and Description. The CLI drops its one-field preamble, and the internal retry snapshot remains headerless so it can still be read as a config file.

Fixes #4520.

Testing:

  • Built baseapi_test and tesseract with CMake.
  • baseapi_test --gtest_filter=TesseractTest.PrintVariablesStartsWithTsvHeader passed.
  • Confirmed tesseract --print-parameters starts with the TSV header.

AI disclosure: Implemented with OpenAI Codex assistance.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@SomSamantray
SomSamantray force-pushed the fix-4520-printvariables-tsv-20261011 branch from add245d to b883794 Compare October 12, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make PrintVariablesToFile and PrintVariables to print the first line with a correct TSV format

1 participant