From b352a55d161c4315adffe610a895dc42a66cad00 Mon Sep 17 00:00:00 2001 From: Thomas Fossati Date: Wed, 20 Oct 2021 11:54:15 +0100 Subject: [PATCH] increase clarity of README --- cocli/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cocli/README.md b/cocli/README.md index 350d7eae..a1c2fe0e 100644 --- a/cocli/README.md +++ b/cocli/README.md @@ -192,9 +192,14 @@ as "per-folder" blocks using the `--comid-dir` (abbrev. `-M`) and `--coswid-dir` $ cocli corim create --template c1.json --comid-dir comids.d/ ``` -Creation will fail if *any* of the inputs is non conformant: +Creation will fail if *any* of the inputs is non conformant. For example, if +`comids.d` contains an invalid CoMID file `rubbish.cbor`, an attempt to create a +CoRIM: ``` $ cocli corim create -t c1.json -M comids.d/ +``` +will fail with: +``` Error: error loading CoMID from comids.d/rubbish.cbor: EOF ```