Skip to content

Commit

Permalink
fix manifest annotate help
Browse files Browse the repository at this point in the history
[NO NEW TESTS NEEDED]
Signed-off-by: huangyanfeng <[email protected]>
  • Loading branch information
yanfeng1992 committed Apr 26, 2023
1 parent 0cf423f commit e95e9be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/podman/manifest/annotate.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (
Long: "Adds or updates information about an entry in a manifest list or image index.",
RunE: annotate,
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,
}
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/podman/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
Example: `podman manifest add mylist:v1.11 image:v1.11-amd64
podman manifest create 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 remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736
podman manifest rm mylist:v1.11`,
Expand Down

0 comments on commit e95e9be

Please sign in to comment.