optimal help info for ctr cli.
Signed-off-by: Jizhong Jiang <jiangjizhong@gmail.com>
This commit is contained in:
parent
682a37f25c
commit
f5615b0225
2 changed files with 7 additions and 5 deletions
|
@ -11,10 +11,11 @@ import (
|
|||
var deleteCommand = cli.Command{
|
||||
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 {
|
||||
|
|
|
@ -12,6 +12,7 @@ import (
|
|||
var inspectCommand = cli.Command{
|
||||
Name: "inspect",
|
||||
Usage: "inspect a container",
|
||||
ArgsUsage: "CONTAINER",
|
||||
Action: func(context *cli.Context) error {
|
||||
executionService, err := getExecutionService(context)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue