v17.12.1
ocrmypdf/OCRmyPDFv17.12.1Sep 16, 2026by github-actions[bot]
Upgrading?
AI Summary
This release fixes a regression where `--version` and `--help` flags incorrectly output to standard error instead of standard output, breaking command-line scripting.
Key Highlights
- Fixed `ocrmypdf --version` and `--help` redirection to standard output
- Restored argparse output routing to stdout
- Issue introduced in version v17.8.0
Full Release Notes
**Fixes** - `ocrmypdf --version` and `ocrmypdf --help` printed to standard error instead of standard output, so `version=$(ocrmypdf --version)` came back empty and `ocrmypdf --help | less` showed nothing. OCRmyPDF redirects file descriptor 1 to standard error early in startup, before it parses the command line, so that a stray write from a plugin or a library cannot corrupt a PDF being written to standard output; argparse's own output was caught by that redirection too and is now routed back to the real standard output. Error messages continue to go to standard error. Broken since v17.8.0.
Related Repositories
public-apis/public-apis★ 491,129
A collective list of free APIs
NousResearch/hermes-agent★ 255,905
The agent that grows with you
yt-dlp/yt-dlp★ 200,003
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,481
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,700
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.