fix manifest annotate help

[NO NEW TESTS NEEDED]
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
This commit is contained in:
huangyanfeng 2023-04-26 09:46:55 +08:00
parent 0cf423f1dd
commit e95e9be76b
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ var (
Long: "Adds or updates information about an entry in a manifest list or image index.", Long: "Adds or updates information about an entry in a manifest list or image index.",
RunE: annotate, RunE: annotate,
Args: cobra.ExactArgs(2), Args: cobra.ExactArgs(2),
Example: `podman manifest annotate --annotation left=right mylist:v1.11 image:v1.11-amd64`, Example: `podman manifest annotate --annotation left=right mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736`,
ValidArgsFunction: common.AutocompleteImages, ValidArgsFunction: common.AutocompleteImages,
} }
) )

View File

@ -16,7 +16,7 @@ var (
Example: `podman manifest add mylist:v1.11 image:v1.11-amd64 Example: `podman manifest add mylist:v1.11 image:v1.11-amd64
podman manifest create localhost/list podman manifest create localhost/list
podman manifest inspect localhost/list podman manifest inspect localhost/list
podman manifest annotate --annotation left=right mylist:v1.11 image:v1.11-amd64 podman manifest annotate --annotation left=right mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736
podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11 podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11
podman manifest remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736 podman manifest remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736
podman manifest rm mylist:v1.11`, podman manifest rm mylist:v1.11`,