Add 'ArgsUsage' for some ctr sub-cmds

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
Yanqiang Miao
2017-06-15 16:04:11 +08:00
parent c215531a8f
commit b88b53212f
5 changed files with 15 additions and 10 deletions

View File

@@ -10,8 +10,9 @@ import (
)
var psCommand = cli.Command{
Name: "ps",
Usage: "list processes for container",
Name: "ps",
Usage: "list processes for container",
ArgsUsage: "CONTAINER",
Action: func(context *cli.Context) error {
var (
id = context.Args().First()