Fix formatting of inspect examples

Signed-off-by: Christoph Blecker <cblecker@redhat.com>
This commit is contained in:
Christoph Blecker 2023-02-23 09:06:16 -08:00
parent 313f142c87
commit c07f20982c
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B

View File

@ -51,8 +51,8 @@ See skopeo(1) section "IMAGE NAMES" for the expected format
`, strings.Join(transports.ListNames(), ", ")),
RunE: commandAction(opts.run),
Example: `skopeo inspect docker://registry.fedoraproject.org/fedora
skopeo inspect --config docker://docker.io/alpine
skopeo inspect --format "Name: {{.Name}} Digest: {{.Digest}}" docker://registry.access.redhat.com/ubi8`,
skopeo inspect --config docker://docker.io/alpine
skopeo inspect --format "Name: {{.Name}} Digest: {{.Digest}}" docker://registry.access.redhat.com/ubi8`,
ValidArgsFunction: autocompleteSupportedTransports,
}
adjustUsage(cmd)