From cc36bf62efbde2232d859e4ee08c78ae442fc0fc 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 --- command/image/tag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/image/tag.go b/command/image/tag.go index b88789b0f8..fb2b703856 100644 --- a/command/image/tag.go +++ b/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]