Merge pull request #26134 from lixiaobing10051267/masterDockerExec
Modify use of docker exec command in exec.go
This commit is contained in:
commit
5bd14f88cd
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func NewExecCommand(dockerCli *client.DockerCli) *cobra.Command {
|
|||
var opts execOptions
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "exec CONTAINER COMMAND [ARG...]",
|
||||
Use: "exec [OPTIONS] CONTAINER COMMAND [ARG...]",
|
||||
Short: "Run a command in a running container",
|
||||
Args: cli.RequiresMinArgs(2),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
|
Loading…
Add table
Reference in a new issue