From 123ce0e4be7c2743c5dee0a9aff84cd2c23758e0 Mon Sep 17 00:00:00 2001 From: allencloud Date: Tue, 30 Aug 2016 23:07:42 +0800 Subject: [PATCH] update command description Signed-off-by: allencloud --- api/client/container/restart.go | 2 +- api/client/container/wait.go | 2 +- api/client/plugin/inspect.go | 4 ++-- api/client/volume/remove.go | 2 +- docs/reference/commandline/restart.md | 2 +- docs/reference/commandline/wait.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/client/container/restart.go b/api/client/container/restart.go index 4e80e1250a..f9b775ce15 100644 --- a/api/client/container/restart.go +++ b/api/client/container/restart.go @@ -24,7 +24,7 @@ func NewRestartCommand(dockerCli *client.DockerCli) *cobra.Command { cmd := &cobra.Command{ Use: "restart [OPTIONS] CONTAINER [CONTAINER...]", - Short: "Restart a container", + Short: "Restart one or more containers", Args: cli.RequiresMinArgs(1), RunE: func(cmd *cobra.Command, args []string) error { opts.containers = args diff --git a/api/client/container/wait.go b/api/client/container/wait.go index 6389a2c907..fec390b8b7 100644 --- a/api/client/container/wait.go +++ b/api/client/container/wait.go @@ -21,7 +21,7 @@ func NewWaitCommand(dockerCli *client.DockerCli) *cobra.Command { cmd := &cobra.Command{ Use: "wait CONTAINER [CONTAINER...]", - Short: "Block until a container stops, then print its exit code", + Short: "Block until one or more containers stop, then print their exit codes", Args: cli.RequiresMinArgs(1), RunE: func(cmd *cobra.Command, args []string) error { opts.containers = args diff --git a/api/client/plugin/inspect.go b/api/client/plugin/inspect.go index f641aa1bf3..b43e3e9453 100644 --- a/api/client/plugin/inspect.go +++ b/api/client/plugin/inspect.go @@ -22,8 +22,8 @@ func newInspectCommand(dockerCli *client.DockerCli) *cobra.Command { var opts inspectOptions cmd := &cobra.Command{ - Use: "inspect PLUGIN", - Short: "Inspect a plugin", + Use: "inspect [OPTIONS] PLUGIN [PLUGIN...]", + Short: "Display detailed information on one or more plugins", Args: cli.RequiresMinArgs(1), RunE: func(cmd *cobra.Command, args []string) error { opts.pluginNames = args diff --git a/api/client/volume/remove.go b/api/client/volume/remove.go index 9dcb19c397..d88b54b1f6 100644 --- a/api/client/volume/remove.go +++ b/api/client/volume/remove.go @@ -20,7 +20,7 @@ func newRemoveCommand(dockerCli *client.DockerCli) *cobra.Command { var opts removeOptions cmd := &cobra.Command{ - Use: "rm [OPTIONS] VOLUME [VOLUME]...", + Use: "rm [OPTIONS] VOLUME [VOLUME...]", Aliases: []string{"remove"}, Short: "Remove one or more volumes", Long: removeDescription, diff --git a/docs/reference/commandline/restart.md b/docs/reference/commandline/restart.md index 661e16d4de..9e40a4f6c4 100644 --- a/docs/reference/commandline/restart.md +++ b/docs/reference/commandline/restart.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...] -Restart a container +Restart one or more containers Options: --help Print usage diff --git a/docs/reference/commandline/wait.md b/docs/reference/commandline/wait.md index b10f6a1a21..b6fd68dbdb 100644 --- a/docs/reference/commandline/wait.md +++ b/docs/reference/commandline/wait.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker wait CONTAINER [CONTAINER...] -Block until a container stops, then print its exit code +Block until one or more containers stop, then print their exit codes Options: --help Print usage