Use consistent command description
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: 2b0927c9ac23b66d8a05761801d1c5f882ba8dfb Component: engine
This commit is contained in:
@ -14,7 +14,7 @@ import (
|
||||
//
|
||||
// Usage: docker push NAME[:TAG]
|
||||
func (cli *DockerCli) CmdPush(args ...string) error {
|
||||
cmd := Cli.Subcmd("push", []string{"NAME[:TAG]"}, "Push an image or a repository to a registry", true)
|
||||
cmd := Cli.Subcmd("push", []string{"NAME[:TAG]"}, Cli.DockerCommands["push"].Description, true)
|
||||
addTrustedFlags(cmd, false)
|
||||
cmd.Require(flag.Exact, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user