
Followup to #14906, in which a nonexistent option was found in a man page. The xref script was designed to catch that, but I was too lax in my parsing: the option was documented using wrong syntax, and the script didn't catch it. Solution: do not allow *any* unrecognized cruft in the option description lines. And fix all improperly-written entries to conform to the rule: **--option**=*value(s)* Two asterisks around option, which must have two dashes. One asterisk around value(s). This is going to cause headaches for some people adding new options, but I don't think I can fix that: there are many factors that make an unparseable line. Adding 'hint' code would make the script even more complex than it is. I have to assume that our contributors are smart enough to look at surrounding context and figure out the right way to specify options. Signed-off-by: Ed Santiago <santiago@redhat.com>
1.9 KiB
% podman-manifest-annotate(1)
NAME
podman-manifest-annotate - Add or update information about an entry in a manifest list or image index
SYNOPSIS
podman manifest annotate [options] listnameorindexname imagemanifestdigest
DESCRIPTION
Adds or updates information about an image included in a manifest list or image index.
OPTIONS
--annotation=annotation=value
Set an annotation on the entry for the specified image.
--arch
Override the architecture which the list or index records as a requirement for the image. This is usually automatically retrieved from the image's configuration information, so it is rarely necessary to use this option.
--features
Specify the features list which the list or index records as requirements for the image. This option is rarely used.
--os
Override the OS which the list or index records as a requirement for the image. This is usually automatically retrieved from the image's configuration information, so it is rarely necessary to use this option.
--os-features
Specify the OS features list which the list or index records as requirements for the image. This option is rarely used.
--os-version
Specify the OS version which the list or index records as a requirement for the image. This option is rarely used.
--variant
Specify the variant which the list or index records for the image. This option is typically used to distinguish between multiple entries which share the same architecture value, but which expect different versions of its instruction set.
EXAMPLE
podman manifest annotate --arch arm64 --variant v8 mylist:v1.11 sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610
07ec8dc22b5dba3a33c60b68bce28bbd2b905e383fdb32a90708fa5eeac13a07: sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610