diff --git a/cmd/ctr/delete.go b/cmd/ctr/delete.go index 77ece69..11e3162 100644 --- a/cmd/ctr/delete.go +++ b/cmd/ctr/delete.go @@ -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 { diff --git a/cmd/ctr/inspect.go b/cmd/ctr/inspect.go index d25e8c1..4b1f0ad 100644 --- a/cmd/ctr/inspect.go +++ b/cmd/ctr/inspect.go @@ -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 {