Skip to content

Commit

Permalink
increase clarity of README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-fossati committed Oct 20, 2021
1 parent 0ee3a4c commit b352a55
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cocli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit b352a55

Please sign in to comment.