From a70079ea23e8a36f9b3b517f7e7e87b8e24f3526 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Mon, 23 Nov 2015 07:20:10 -0800 Subject: [PATCH] Add more to tag's -f flag's help Was noticed in #9798 Signed-off-by: Doug Davis --- api/client/tag.go | 2 +- docs/reference/commandline/tag.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client/tag.go b/api/client/tag.go index 12e3535430..505e0208cd 100644 --- a/api/client/tag.go +++ b/api/client/tag.go @@ -14,7 +14,7 @@ import ( // Usage: docker tag [OPTIONS] IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG] func (cli *DockerCli) CmdTag(args ...string) error { cmd := Cli.Subcmd("tag", []string{"IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG]"}, Cli.DockerCommands["tag"].Description, true) - force := cmd.Bool([]string{"f", "-force"}, false, "Force") + force := cmd.Bool([]string{"f", "-force"}, false, "Force the tagging even if there's a conflict") cmd.Require(flag.Exact, 2) cmd.ParseFlags(args, true) diff --git a/docs/reference/commandline/tag.md b/docs/reference/commandline/tag.md index a325efaa4b..46554f3f49 100644 --- a/docs/reference/commandline/tag.md +++ b/docs/reference/commandline/tag.md @@ -14,7 +14,7 @@ parent = "smn_cli" Tag an image into a repository - -f, --force=false Force + -f, --force=false Force the tagging even if there's a conflict --help=false Print usage You can group your images together using names and tags, and then upload them