diff --git a/README.md b/README.md index 6652fc0..78e4312 100644 --- a/README.md +++ b/README.md @@ -212,9 +212,9 @@ $ sudo ctr containers start redis /containers/redis ### Kill a container's process ``` -$ ctr containers kill -h +$ ctr containers kill -h NAME: - kill - send a signal to a container or it's processes + kill - send a signal to a container or its processes USAGE: command kill [command options] [arguments...] @@ -227,7 +227,7 @@ OPTIONS: ### Exec another process into a container ``` -$ ctr containers exec -h +$ ctr containers exec -h NAME: exec - exec another process in an existing container @@ -242,13 +242,13 @@ OPTIONS: --env, -e [--env option --env option] environment variables for the process --uid, -u "0" user id of the user for the process --gid, -g "0" group id of the user for the process - + ``` ### Stats for a container ``` -$ ctr containers stats -h +$ ctr containers stats -h NAME: stats - get stats for running container @@ -280,7 +280,7 @@ OPTIONS: --unix-sockets perist unix sockets --exit exit the container after the checkpoint completes successfully --shell checkpoint shell jobs - + ``` ### Get events diff --git a/ctr/container.go b/ctr/container.go index a30cb0e..5a7751a 100644 --- a/ctr/container.go +++ b/ctr/container.go @@ -241,7 +241,7 @@ func attachStdio(stdins, stdout, stderr *string) error { var KillCommand = cli.Command{ Name: "kill", - Usage: "send a signal to a container or it's processes", + Usage: "send a signal to a container or its processes", Flags: []cli.Flag{ cli.IntFlag{ Name: "pid,p", diff --git a/runtime/container.go b/runtime/container.go index 40ad188..7f8659a 100644 --- a/runtime/container.go +++ b/runtime/container.go @@ -87,7 +87,7 @@ type Container interface { Path() string // Pid returns the container's init process id Pid() (int, error) - // SetExited sets the exit status of the container after it's init dies + // SetExited sets the exit status of the container after its init dies SetExited(status int) // Delete deletes the container Delete() error