updating usage for runc and runc commands

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown
2016-02-10 11:30:06 -06:00
parent 80495833ae
commit f4e37ab63e
10 changed files with 78 additions and 8 deletions
+14
View File
@@ -7,6 +7,13 @@ import "github.com/codegangsta/cli"
var pauseCommand = cli.Command{
Name: "pause",
Usage: "pause suspends all processes inside the container",
ArgsUsage: `<container-id>
Where "<container-id>" is the name for the instance of the container to be
paused. `,
Description: `The pause command suspends all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.`,
Action: func(context *cli.Context) {
container, err := getContainer(context)
if err != nil {
@@ -21,6 +28,13 @@ var pauseCommand = cli.Command{
var resumeCommand = cli.Command{
Name: "resume",
Usage: "resumes all processes that have been previously paused",
ArgsUsage: `<container-id>
Where "<container-id>" is the name for the instance of the container to be
resumed.`,
Description: `The resume command resumes all processes in the instance of the container.
Use runc list to identiy instances of containers and their current status.`,
Action: func(context *cli.Context) {
container, err := getContainer(context)
if err != nil {