From a219f7c30dde1198671bb984e91cba0b6664179f Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Sun, 7 Jun 2020 15:38:49 +0200 Subject: [PATCH] CLI: If METS is not readable, show help and exit 1, OCR-D/core#438 --- cli.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli.md b/cli.md index 7e51402..a320558 100644 --- a/cli.md +++ b/cli.md @@ -83,6 +83,9 @@ Omit to use default parameters only, or for processors without any parameters. Input [METS](mets) URL. Default: `mets.xml` +If `METS_IN` is a file path but the file is not readable, processors must +show the [`--help` message](#-h---help) message and exit with return code `1`. + ### `-w, --working-dir DIR` Working Directory. Default: current working directory.