From c3bd2f296d27b13628238f3ade250cfc56e8b03e Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 3 Mar 2020 02:14:50 -0800 Subject: [PATCH] docs: fix Docker syntax to use stdin/stdout properly --- docs/docker.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docker.rst b/docs/docker.rst index 27915b26..032ad090 100644 --- a/docs/docker.rst +++ b/docs/docker.rst @@ -66,7 +66,7 @@ To start a Docker container (instance of the image): .. code-block:: bash docker tag jbarlow83/ocrmypdf ocrmypdf - docker run --rm -i ocrmypdf (... all other arguments here...) + docker run --rm -i ocrmypdf (... all other arguments here...) - - For convenience, create a shell alias to hide the Docker command. It is easier to send the input file as stdin and read the output from @@ -76,7 +76,7 @@ stdout – **this avoids the messy permission issues with Docker entirely**. alias docker_ocrmypdf='docker run --rm -i ocrmypdf' docker_ocrmypdf --version # runs docker version - docker_ocrmypdf output.pdf + docker_ocrmypdf - - output.pdf Or in the wonderful `fish shell `__: