For consistency in usage output the verbs changed from 3rd person to 1st person.

Signed-off-by: Ivan Bodunov <ivan.bodunov@gmail.com>
This commit is contained in:
Ivan Bodunov
2019-01-30 13:28:45 +02:00
parent b01ec95bda
commit 918b73cd05
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ var (
inspectDescription = "This displays the low-level information on containers and images identified by name or ID. By default, this will render all results in a JSON array. If the container and image have the same name, this will return container JSON for unspecified type." inspectDescription = "This displays the low-level information on containers and images identified by name or ID. By default, this will render all results in a JSON array. If the container and image have the same name, this will return container JSON for unspecified type."
inspectCommand = cli.Command{ inspectCommand = cli.Command{
Name: "inspect", Name: "inspect",
Usage: "Displays the configuration of a container or image", Usage: "Display the configuration of a container or image",
Description: inspectDescription, Description: inspectDescription,
Flags: sortFlags(inspectFlags), Flags: sortFlags(inspectFlags),
Action: inspectCmd, Action: inspectCmd,

View File

@ -25,7 +25,7 @@ var (
` `
pauseCommand = cli.Command{ pauseCommand = cli.Command{
Name: "pause", Name: "pause",
Usage: "Pauses all the processes in one or more containers", Usage: "Pause all the processes in one or more containers",
Description: pauseDescription, Description: pauseDescription,
Flags: pauseFlags, Flags: pauseFlags,
Action: pauseCmd, Action: pauseCmd,

View File

@ -24,7 +24,7 @@ var (
} }
rmiCommand = cli.Command{ rmiCommand = cli.Command{
Name: "rmi", Name: "rmi",
Usage: "Removes one or more images from local storage", Usage: "Remove one or more images from local storage",
Description: rmiDescription, Description: rmiDescription,
Action: rmiCmd, Action: rmiCmd,
ArgsUsage: "IMAGE-NAME-OR-ID [...]", ArgsUsage: "IMAGE-NAME-OR-ID [...]",

View File

@ -34,7 +34,7 @@ An unmount can be forced with the --force flag.
umountCommand = cli.Command{ umountCommand = cli.Command{
Name: "umount", Name: "umount",
Aliases: []string{"unmount"}, Aliases: []string{"unmount"},
Usage: "Unmounts working container's root filesystem", Usage: "Unmount working container's root filesystem",
Description: description, Description: description,
Flags: sortFlags(umountFlags), Flags: sortFlags(umountFlags),
Action: umountCmd, Action: umountCmd,

View File

@ -82,7 +82,7 @@ OPTIONS:
var helpCommand = Command{ var helpCommand = Command{
Name: "help", Name: "help",
Aliases: []string{"h"}, Aliases: []string{"h"},
Usage: "Shows a list of commands or help for one command", Usage: "Show a list of commands or help for one command",
ArgsUsage: "[command]", ArgsUsage: "[command]",
Action: func(c *Context) error { Action: func(c *Context) error {
args := c.Args() args := c.Args()