Fix ps argument manual

Argument of "ps options" for ps command is a optional parameter.
Should use [] instead of <> in manual.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
This commit is contained in:
Zhao Lei 2016-06-17 19:07:30 +08:00
parent 42dfd60643
commit 71929e0f9d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
runc ps - ps displays the processes running inside a container
# SYNOPSIS
runc ps [command options] <container-id> <ps options>
runc ps [command options] <container-id> [ps options]
# OPTIONS
--format value, -f value select one of: table(default) or json

2
ps.go
View File

@ -16,7 +16,7 @@ import (
var psCommand = cli.Command{
Name: "ps",
Usage: "ps displays the processes running inside a container",
ArgsUsage: `<container-id> <ps options>`,
ArgsUsage: `<container-id> [ps options]`,
Flags: []cli.Flag{
cli.StringFlag{
Name: "format, f",