From 57ddeffd0ff8f912429556cfbd612cef6d10b577 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Thu, 6 Oct 2022 08:47:29 -0600 Subject: [PATCH] Man pages: refactor common options: --annotation (manifest) [Note: I already refactored --annotation for container-related commands; this one is for manifest-related commands] This one needed reconciling: one man page said "newly added image", the other said "specified image", I just reduced that to "image". If that's not cool, any suggestions on how to make it better? Or, just reject this PR, we can live with this duplication. Signed-off-by: Ed Santiago --- docs/source/markdown/options/annotation.manifest.md | 3 +++ docs/source/markdown/podman-manifest-add.1.md.in | 4 +--- docs/source/markdown/podman-manifest-annotate.1.md.in | 4 +--- 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 docs/source/markdown/options/annotation.manifest.md diff --git a/docs/source/markdown/options/annotation.manifest.md b/docs/source/markdown/options/annotation.manifest.md new file mode 100644 index 0000000000..715c33eeba --- /dev/null +++ b/docs/source/markdown/options/annotation.manifest.md @@ -0,0 +1,3 @@ +#### **--annotation**=*annotation=value* + +Set an annotation on the entry for the image. diff --git a/docs/source/markdown/podman-manifest-add.1.md.in b/docs/source/markdown/podman-manifest-add.1.md.in index f31472362b..815739a414 100644 --- a/docs/source/markdown/podman-manifest-add.1.md.in +++ b/docs/source/markdown/podman-manifest-add.1.md.in @@ -22,9 +22,7 @@ index, add all of the contents to the local list. By default, only one image from such a list or index will be added to the list or index. Combining *--all* with any of the other options described below is NOT recommended. -#### **--annotation**=*annotation=value* - -Set an annotation on the entry for the newly-added image. +@@option annotation.manifest #### **--arch** diff --git a/docs/source/markdown/podman-manifest-annotate.1.md.in b/docs/source/markdown/podman-manifest-annotate.1.md.in index 49ccf74edc..af500cade6 100644 --- a/docs/source/markdown/podman-manifest-annotate.1.md.in +++ b/docs/source/markdown/podman-manifest-annotate.1.md.in @@ -12,9 +12,7 @@ Adds or updates information about an image included in a manifest list or image ## OPTIONS -#### **--annotation**=*annotation=value* - -Set an annotation on the entry for the specified image. +@@option annotation.manifest #### **--arch**