mirror of https://github.com/docker/cli.git
make cmd short short consistency and change docs
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
77d6b3721e
commit
a03b5522fe
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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**
|
||||||
|
|
Loading…
Reference in New Issue