From bdac0235214c52e8149b0ec9fec6b985c1bba449 Mon Sep 17 00:00:00 2001 From: Boaz Shuster Date: Sun, 13 Nov 2016 10:28:25 +0200 Subject: [PATCH] Change the docker-tag usage text to be clearer Signed-off-by: Boaz Shuster Upstream-commit: cc36bf62efbde2232d859e4ee08c78ae442fc0fc Component: cli --- components/cli/command/image/tag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cli/command/image/tag.go b/components/cli/command/image/tag.go index b88789b0f8..fb2b703856 100644 --- a/components/cli/command/image/tag.go +++ b/components/cli/command/image/tag.go @@ -18,8 +18,8 @@ func NewTagCommand(dockerCli *command.DockerCli) *cobra.Command { var opts tagOptions cmd := &cobra.Command{ - Use: "tag IMAGE[:TAG] IMAGE[:TAG]", - Short: "Tag an image into a repository", + Use: "tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]", + Short: "Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE", Args: cli.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { opts.image = args[0]