From 71929e0f9d58a705651f2e9d13dad6f1f1fb67ce Mon Sep 17 00:00:00 2001 From: Zhao Lei Date: Fri, 17 Jun 2016 19:07:30 +0800 Subject: [PATCH] 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 --- man/runc-ps.8.md | 2 +- ps.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/runc-ps.8.md b/man/runc-ps.8.md index 82ca2588..694990a9 100644 --- a/man/runc-ps.8.md +++ b/man/runc-ps.8.md @@ -2,7 +2,7 @@ runc ps - ps displays the processes running inside a container # SYNOPSIS - runc ps [command options] + runc ps [command options] [ps options] # OPTIONS --format value, -f value select one of: table(default) or json diff --git a/ps.go b/ps.go index 1aa2bc9c..3b462a0a 100644 --- a/ps.go +++ b/ps.go @@ -16,7 +16,7 @@ import ( var psCommand = cli.Command{ Name: "ps", Usage: "ps displays the processes running inside a container", - ArgsUsage: ` `, + ArgsUsage: ` [ps options]`, Flags: []cli.Flag{ cli.StringFlag{ Name: "format, f",