fix: make exec-id flag required in exec command
Signed-off-by: jonyhy <yun.hao@daocloud.io>
This commit is contained in:
parent
0f27a423ef
commit
e6ddffc2af
@ -31,7 +31,6 @@ import (
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
//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",
|
||||
@ -52,6 +51,7 @@ var execCommand = cli.Command{
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "exec-id",
|
||||
Required: true,
|
||||
Usage: "exec specific id for the process",
|
||||
},
|
||||
cli.StringFlag{
|
||||
|
Loading…
Reference in New Issue
Block a user