Skip to content

Commit d3cfb99

Browse files
authored
Merge pull request #269 from wking/man-validate-multiple-refs
cmd/oci-image-tool/man: Document multiple --ref for 'validate'
2 parents 9b22e26 + 2c3b6ee commit d3cfb99

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmd/oci-image-tool/man/oci-image-tool-validate.1.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ oci-image-tool-validate \- Validate one or more image files
1515
**--help**
1616
Print usage statement
1717

18-
**--ref**
19-
The ref pointing to the manifest to be validated. This must be present in the "refs" subdirectory of the image. Only applicable if type is image or imageLayout. (default "v1.0")
18+
**--ref** NAME
19+
The reference to validate (should point to a manifest).
20+
Can be specified multiple times to validate multiple references.
21+
`NAME` must be present in the `refs` subdirectory of the image.
22+
Defaults to `v1.0`.
23+
Only applicable if type is image or imageLayout.
2024

2125
**--type**
2226
Type of the file to validate. If unset, oci-image-tool will try to auto-detect the type. One of "imageLayout,image,manifest,manifestList,config"

0 commit comments

Comments
 (0)