From e95e9be76ba45888c5a54d14d068d70a8b51aa91 Mon Sep 17 00:00:00 2001 From: huangyanfeng Date: Wed, 26 Apr 2023 09:46:55 +0800 Subject: [PATCH] fix manifest annotate help [NO NEW TESTS NEEDED] Signed-off-by: huangyanfeng --- cmd/podman/manifest/annotate.go | 2 +- cmd/podman/manifest/manifest.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/podman/manifest/annotate.go b/cmd/podman/manifest/annotate.go index 41e1b6b2be..73f1b18cbd 100644 --- a/cmd/podman/manifest/annotate.go +++ b/cmd/podman/manifest/annotate.go @@ -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, } ) diff --git a/cmd/podman/manifest/manifest.go b/cmd/podman/manifest/manifest.go index bb9f4a8c56..837b5aec54 100644 --- a/cmd/podman/manifest/manifest.go +++ b/cmd/podman/manifest/manifest.go @@ -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`,