diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-12-17 11:28:07 +0100 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2020-01-17 08:51:36 +0100 |
commit | 38ba9e692285198cefdb8b54aa72c6ce2c7b59ee (patch) | |
tree | 8e632eed9ee26567549f4243f3ebb652157bdd6c /cmd | |
parent | 74b89da27c5da20ddcbff5ea3689795ad2b720f5 (diff) | |
download | podman-38ba9e692285198cefdb8b54aa72c6ce2c7b59ee.tar.gz podman-38ba9e692285198cefdb8b54aa72c6ce2c7b59ee.tar.bz2 podman-38ba9e692285198cefdb8b54aa72c6ce2c7b59ee.zip |
Update `tag` documentation regarding 'alias' usage
The word `alias` is not very common when speaking about image names and
tags. So we just refer to image name as the overall identifier of an
image.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/tag.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/tag.go b/cmd/podman/tag.go index eb43d695c..215b716b8 100644 --- a/cmd/podman/tag.go +++ b/cmd/podman/tag.go @@ -12,7 +12,7 @@ var ( tagDescription = "Adds one or more additional names to locally-stored image." _tagCommand = &cobra.Command{ - Use: "tag [flags] IMAGE TAG [TAG...]", + Use: "tag [flags] IMAGE TARGET_NAME [TARGET_NAME...]", Short: "Add an additional name to a local image", Long: tagDescription, RunE: func(cmd *cobra.Command, args []string) error { @@ -51,7 +51,7 @@ func tagCmd(c *cliconfig.TagValues) error { for _, tagName := range args[1:] { if err := newImage.TagImage(tagName); err != nil { - return errors.Wrapf(err, "error adding '%s' to image %q", tagName, newImage.InputName) + return errors.Wrapf(err, "error adding %q to image %q", tagName, newImage.InputName) } } return nil |