Merge pull request #919 from zhaoleidd/fix_ps_argument_manual

Fix ps argument manual
This commit is contained in:
Mrunal Patel 2016-06-23 10:17:47 -07:00 committed by GitHub
commit 9b3a2f1634
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",