Merge pull request #2793 from lifubang/runexecflag

fix container cmd args may parsed as ctr args
This commit is contained in:
Michael Crosby
2018-12-04 11:05:51 -05:00
committed by GitHub
2 changed files with 8 additions and 6 deletions

View File

@@ -28,9 +28,10 @@ import (
//TODO:(jessvalarezo) exec-id is optional here, update to required arg
var execCommand = cli.Command{
Name: "exec",
Usage: "execute additional processes in an existing container",
ArgsUsage: "[flags] CONTAINER CMD [ARG...]",
Name: "exec",
Usage: "execute additional processes in an existing container",
ArgsUsage: "[flags] CONTAINER CMD [ARG...]",
SkipArgReorder: true,
Flags: []cli.Flag{
cli.StringFlag{
Name: "cwd",