Merge pull request #468 from jzwlqx/master

optimal help info for ctr cli.
This commit is contained in:
Michael Crosby 2017-01-26 15:34:31 -08:00 committed by GitHub
commit f70d485d72
2 changed files with 7 additions and 5 deletions

View File

@ -9,12 +9,13 @@ import (
)
var deleteCommand = cli.Command{
Name: "delete",
Usage: "delete a process from containerd store",
Name: "delete",
Usage: "delete a process from containerd store",
ArgsUsage: "CONTAINER",
Flags: []cli.Flag{
cli.StringFlag{
Name: "pid, p",
Usage: "new process id",
Usage: "process id to be deleted",
},
},
Action: func(context *cli.Context) error {

View File

@ -10,8 +10,9 @@ import (
)
var inspectCommand = cli.Command{
Name: "inspect",
Usage: "inspect a container",
Name: "inspect",
Usage: "inspect a container",
ArgsUsage: "CONTAINER",
Action: func(context *cli.Context) error {
executionService, err := getExecutionService(context)
if err != nil {