Use consistent command description
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: 2b0927c9ac23b66d8a05761801d1c5f882ba8dfb Component: engine
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
//
|
||||
// Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
|
||||
func (cli *DockerCli) CmdExec(args ...string) error {
|
||||
cmd := Cli.Subcmd("exec", []string{"CONTAINER COMMAND [ARG...]"}, "Run a command in a running container", true)
|
||||
cmd := Cli.Subcmd("exec", []string{"CONTAINER COMMAND [ARG...]"}, Cli.DockerCommands["exec"].Description, true)
|
||||
|
||||
execConfig, err := runconfig.ParseExec(cmd, args)
|
||||
// just in case the ParseExec does not exit
|
||||
|
||||
Reference in New Issue
Block a user