make cmd short short consistency and change docs

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-06-30 20:13:28 +08:00 committed by Tibor Vass
parent 77d6b3721e
commit a03b5522fe
6 changed files with 7 additions and 7 deletions

View File

@ -538,7 +538,7 @@ __docker_networks_names() {
__docker_network_commands() { __docker_network_commands() {
local -a _docker_network_subcommands local -a _docker_network_subcommands
_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" "create:Creates a new network with a name specified by the user"
"disconnect:Disconnects a container from a network" "disconnect:Disconnects a container from a network"
"inspect:Displays detailed information on a network" "inspect:Displays detailed information on a network"
@ -694,7 +694,7 @@ __docker_volume_commands() {
local -a _docker_volume_subcommands local -a _docker_volume_subcommands
_docker_volume_subcommands=( _docker_volume_subcommands=(
"create:Create a volume" "create:Create a volume"
"inspect:Return low-level information on a volume" "inspect:Display detailed information on one or more volumes"
"ls:List volumes" "ls:List volumes"
"rm:Remove a volume" "rm:Remove a volume"
) )

View File

@ -12,7 +12,7 @@ parent = "smn_cli"
Usage: docker network connect [OPTIONS] NETWORK CONTAINER 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 --alias=[] Add network-scoped alias for the container
--help Print usage --help Print usage

View File

@ -13,7 +13,7 @@ parent = "smn_cli"
Usage: docker node inspect [OPTIONS] self|NODE [NODE...] 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. -f, --format= Format the output using the given go template.
--help Print usage --help Print usage

View File

@ -14,7 +14,7 @@ parent = "smn_cli"
```Markdown ```Markdown
Usage: docker service inspect [OPTIONS] SERVICE [SERVICE...] Usage: docker service inspect [OPTIONS] SERVICE [SERVICE...]
Inspect a service Display detailed information on one or more services
Options: Options:
-f, --format string Format the output using the given go template -f, --format string Format the output using the given go template

View File

@ -12,7 +12,7 @@ parent = "smn_cli"
Usage: docker volume inspect [OPTIONS] VOLUME [VOLUME...] 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. -f, --format= Format the output using the given go template.
--help Print usage --help Print usage

View File

@ -47,7 +47,7 @@ referenced by a container.
See **docker-volume-create(1)** for full documentation on the **create** command. See **docker-volume-create(1)** for full documentation on the **create** command.
**inspect** **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. See **docker-volume-inspect(1)** for full documentation on the **inspect** command.
**ls** **ls**