mirror of https://github.com/docker/cli.git
Change the docker-tag usage text to be clearer
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
This commit is contained in:
parent
0f6af2074c
commit
cc36bf62ef
|
@ -18,8 +18,8 @@ func NewTagCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
var opts tagOptions
|
var opts tagOptions
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "tag IMAGE[:TAG] IMAGE[:TAG]",
|
Use: "tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]",
|
||||||
Short: "Tag an image into a repository",
|
Short: "Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE",
|
||||||
Args: cli.ExactArgs(2),
|
Args: cli.ExactArgs(2),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
opts.image = args[0]
|
opts.image = args[0]
|
||||||
|
|
Loading…
Reference in New Issue