From e13a673b1a5c0494958f36af0de63e4e458ac732 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 8 Nov 2019 02:59:02 -0800 Subject: [PATCH] docs: mention how to suppress progbar --- docs/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 09a68539..ef429066 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -71,7 +71,8 @@ Progress monitoring OCRmyPDF uses the ``tqdm`` package to implement its progress bars. :func:`ocrmypdf.configure_logging` will set up logging output to ``sys.stderr`` in a way that is compatible with the display of the -progress bar. +progress bar. Use ``ocrmypdf.ocr(...progress_bar=False)`` to disable +the progress bar. Exceptions ----------