From a03b5522fea29e0b486b378d23d10eb9d9a0f4f9 Mon Sep 17 00:00:00 2001 From: allencloud Date: Thu, 30 Jun 2016 20:13:28 +0800 Subject: [PATCH] make cmd short short consistency and change docs Signed-off-by: allencloud --- contrib/completion/zsh/_docker | 4 ++-- docs/reference/commandline/network_connect.md | 2 +- docs/reference/commandline/node_inspect.md | 2 +- docs/reference/commandline/service_inspect.md | 2 +- docs/reference/commandline/volume_inspect.md | 2 +- man/docker-volume.1.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index a198fe296e..beec0594fc 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -538,7 +538,7 @@ __docker_networks_names() { __docker_network_commands() { local -a _docker_network_subcommands _docker_network_subcommands=( - "connect:Connects a container to a network" + "connect:Connect a container to a network" "create:Creates a new network with a name specified by the user" "disconnect:Disconnects a container from a network" "inspect:Displays detailed information on a network" @@ -694,7 +694,7 @@ __docker_volume_commands() { local -a _docker_volume_subcommands _docker_volume_subcommands=( "create:Create a volume" - "inspect:Return low-level information on a volume" + "inspect:Display detailed information on one or more volumes" "ls:List volumes" "rm:Remove a volume" ) diff --git a/docs/reference/commandline/network_connect.md b/docs/reference/commandline/network_connect.md index ae29c44bb3..c6a33ed15e 100644 --- a/docs/reference/commandline/network_connect.md +++ b/docs/reference/commandline/network_connect.md @@ -12,7 +12,7 @@ parent = "smn_cli" Usage: docker network connect [OPTIONS] NETWORK CONTAINER - Connects a container to a network + Connect a container to a network --alias=[] Add network-scoped alias for the container --help Print usage diff --git a/docs/reference/commandline/node_inspect.md b/docs/reference/commandline/node_inspect.md index 6340dbabb9..b33a32139c 100644 --- a/docs/reference/commandline/node_inspect.md +++ b/docs/reference/commandline/node_inspect.md @@ -13,7 +13,7 @@ parent = "smn_cli" Usage: docker node inspect [OPTIONS] self|NODE [NODE...] - Return low-level information on a volume + Display detailed information on one or more nodes -f, --format= Format the output using the given go template. --help Print usage diff --git a/docs/reference/commandline/service_inspect.md b/docs/reference/commandline/service_inspect.md index 02b399f950..73fe6b83fb 100644 --- a/docs/reference/commandline/service_inspect.md +++ b/docs/reference/commandline/service_inspect.md @@ -14,7 +14,7 @@ parent = "smn_cli" ```Markdown Usage: docker service inspect [OPTIONS] SERVICE [SERVICE...] -Inspect a service +Display detailed information on one or more services Options: -f, --format string Format the output using the given go template diff --git a/docs/reference/commandline/volume_inspect.md b/docs/reference/commandline/volume_inspect.md index c19d60fe48..d8b7702360 100644 --- a/docs/reference/commandline/volume_inspect.md +++ b/docs/reference/commandline/volume_inspect.md @@ -12,7 +12,7 @@ parent = "smn_cli" Usage: docker volume inspect [OPTIONS] VOLUME [VOLUME...] - Return low-level information on a volume + Display detailed information on one or more volumes -f, --format= Format the output using the given go template. --help Print usage diff --git a/man/docker-volume.1.md b/man/docker-volume.1.md index c4569bf01a..1e7044484a 100644 --- a/man/docker-volume.1.md +++ b/man/docker-volume.1.md @@ -47,7 +47,7 @@ referenced by a container. See **docker-volume-create(1)** for full documentation on the **create** command. **inspect** - Return low-level information on a volume + Display detailed information on one or more volumes See **docker-volume-inspect(1)** for full documentation on the **inspect** command. **ls**