Skip to content

Commit

Permalink
CLI: If METS is not readable, show help and exit 1, OCR-D/core#438
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 7, 2020
1 parent fa3c56f commit a219f7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a219f7c

Please sign in to comment.