mirror of
https://github.com/containers/skopeo.git
synced 2025-06-28 15:47:34 +00:00
Fix formatting of inspect examples
Signed-off-by: Christoph Blecker <cblecker@redhat.com>
This commit is contained in:
parent
313f142c87
commit
c07f20982c
@ -51,8 +51,8 @@ See skopeo(1) section "IMAGE NAMES" for the expected format
|
|||||||
`, strings.Join(transports.ListNames(), ", ")),
|
`, strings.Join(transports.ListNames(), ", ")),
|
||||||
RunE: commandAction(opts.run),
|
RunE: commandAction(opts.run),
|
||||||
Example: `skopeo inspect docker://registry.fedoraproject.org/fedora
|
Example: `skopeo inspect docker://registry.fedoraproject.org/fedora
|
||||||
skopeo inspect --config docker://docker.io/alpine
|
skopeo inspect --config docker://docker.io/alpine
|
||||||
skopeo inspect --format "Name: {{.Name}} Digest: {{.Digest}}" docker://registry.access.redhat.com/ubi8`,
|
skopeo inspect --format "Name: {{.Name}} Digest: {{.Digest}}" docker://registry.access.redhat.com/ubi8`,
|
||||||
ValidArgsFunction: autocompleteSupportedTransports,
|
ValidArgsFunction: autocompleteSupportedTransports,
|
||||||
}
|
}
|
||||||
adjustUsage(cmd)
|
adjustUsage(cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user