Document template enabled --tag-from-label

This documents the new behaviour of allowing multiple labels to be
used to determine the tag.

Depends-On: Id0fb010ebcdd4d3f3650c94065fc42489475c42c
Change-Id: I26b1dd644b46adc7ebaad6c29a50863f1fbced79
Related-Bug: #1743883
This commit is contained in:
Steve Baker 2018-01-24 13:22:53 +13:00
parent 48fa3dc807
commit 679a1f1681
1 changed files with 6 additions and 4 deletions

View File

@ -210,8 +210,9 @@ class PrepareImageFiles(command.Command):
"--tag-from-label",
dest="tag_from_label",
metavar='<image label>',
help=_("Use the value of the specified label to discover the "
"versioned tag."),
help=_("Use the value of the specified label(s) to discover the "
"tag. Labels can be combined in a template format, "
"for example: {version}-{release}"),
)
parser.add_argument(
"--namespace",
@ -467,8 +468,9 @@ class DiscoverImageTag(command.Command):
"--tag-from-label",
dest="tag_from_label",
metavar='<image label>',
help=_("Use the value of the specified label to discover the "
"tag."),
help=_("Use the value of the specified label(s) to discover the "
"tag. Labels can be combined in a template format, "
"for example: {version}-{release}"),
)
return parser