From 0ab07d2bd7a952e69550b4c123615ab7349395b6 Mon Sep 17 00:00:00 2001 From: allencloud Date: Sat, 30 Jul 2016 01:41:52 +0800 Subject: [PATCH] update command description in CLI Signed-off-by: allencloud --- contrib/completion/zsh/_docker | 6 +++--- docs/reference/commandline/index.md | 2 +- docs/reference/commandline/kill.md | 2 +- docs/reference/commandline/network_rm.md | 4 ++-- docs/reference/commandline/node_demote.md | 2 +- docs/reference/commandline/node_promote.md | 2 +- docs/reference/commandline/node_rm.md | 2 +- docs/reference/commandline/service_rm.md | 4 ++-- docs/reference/commandline/volume_rm.md | 6 +++--- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 1dbe1ad016..1eed282ba3 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -786,7 +786,7 @@ __docker_node_commands() { "inspect:Display detailed information on one or more nodes" "ls:List nodes in the swarm" "promote:Promote a node as manager in the swarm" - "rm:Remove a node from the swarm" + "rm:Remove one or more nodes from the swarm" "ps:List tasks running on a node" "update:Update a node" ) @@ -1058,7 +1058,7 @@ __docker_service_commands() { "create:Create a new service" "inspect:Display detailed information on one or more services" "ls:List services" - "rm:Remove a service" + "rm:Remove one or more services" "scale:Scale one or multiple services" "ps:List the tasks of a service" "update:Update a service" @@ -1314,7 +1314,7 @@ __docker_volume_commands() { "create:Create a volume" "inspect:Display detailed information on one or more volumes" "ls:List volumes" - "rm:Remove a volume" + "rm:Remove one or more volumes" ) _describe -t docker-volume-commands "docker volume command" _docker_volume_subcommands } diff --git a/docs/reference/commandline/index.md b/docs/reference/commandline/index.md index e83c756136..9cd3679aa4 100644 --- a/docs/reference/commandline/index.md +++ b/docs/reference/commandline/index.md @@ -117,7 +117,7 @@ read the [`dockerd`](dockerd.md) reference page. | [node update](node_update.md) | Update attributes for a node | | [node ps](node_ps.md) | List tasks running on a node | | [node ls](node_ls.md) | List nodes in the swarm | -| [node rm](node_rm.md) | Remove a node from the swarm | +| [node rm](node_rm.md) | Remove one or more nodes from the swarm | ### Swarm swarm commands diff --git a/docs/reference/commandline/kill.md b/docs/reference/commandline/kill.md index e85ba61657..55b11efad2 100644 --- a/docs/reference/commandline/kill.md +++ b/docs/reference/commandline/kill.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...] -Kill one or more running container +Kill one or more running containers Options: --help Print usage diff --git a/docs/reference/commandline/network_rm.md b/docs/reference/commandline/network_rm.md index ce213b47fe..949d9b56b9 100644 --- a/docs/reference/commandline/network_rm.md +++ b/docs/reference/commandline/network_rm.md @@ -11,9 +11,9 @@ parent = "smn_cli" # network rm ```markdown -Usage: docker network rm NETWORK [NETWORK]... +Usage: docker network rm NETWORK [NETWORK...] -Remove a network +Remove one or more networks Aliases: rm, remove diff --git a/docs/reference/commandline/node_demote.md b/docs/reference/commandline/node_demote.md index 78acbfdf40..2cec22ac3b 100644 --- a/docs/reference/commandline/node_demote.md +++ b/docs/reference/commandline/node_demote.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker node demote NODE [NODE...] -Demote a node from manager in the swarm +Demote one or more nodes from manager in the swarm Options: --help Print usage diff --git a/docs/reference/commandline/node_promote.md b/docs/reference/commandline/node_promote.md index de0bb9a0aa..7f5830d92a 100644 --- a/docs/reference/commandline/node_promote.md +++ b/docs/reference/commandline/node_promote.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker node promote NODE [NODE...] -Promote a node to a manager in the swarm +Promote one or more nodes to manager in the swarm Options: --help Print usage diff --git a/docs/reference/commandline/node_rm.md b/docs/reference/commandline/node_rm.md index bb9fcadb32..e2f913e1a8 100644 --- a/docs/reference/commandline/node_rm.md +++ b/docs/reference/commandline/node_rm.md @@ -13,7 +13,7 @@ parent = "smn_cli" ```markdown Usage: docker node rm NODE [NODE...] -Remove a node from the swarm +Remove one or more nodes from the swarm Aliases: rm, remove diff --git a/docs/reference/commandline/service_rm.md b/docs/reference/commandline/service_rm.md index d47dc5f82e..ca2e9aecb4 100644 --- a/docs/reference/commandline/service_rm.md +++ b/docs/reference/commandline/service_rm.md @@ -11,9 +11,9 @@ parent = "smn_cli" # service rm ```Markdown -Usage: docker service rm [OPTIONS] SERVICE +Usage: docker service rm [OPTIONS] SERVICE [SERVICE...] -Remove a service +Remove one or more services Aliases: rm, remove diff --git a/docs/reference/commandline/volume_rm.md b/docs/reference/commandline/volume_rm.md index 1760a5d905..52d7f067bf 100644 --- a/docs/reference/commandline/volume_rm.md +++ b/docs/reference/commandline/volume_rm.md @@ -11,9 +11,9 @@ parent = "smn_cli" # volume rm ```markdown -Usage: docker volume rm VOLUME [VOLUME]... +Usage: docker volume rm VOLUME [VOLUME...] -Remove a volume +Remove one or more volumes Aliases: rm, remove @@ -22,7 +22,7 @@ Options: --help Print usage ``` -Removes one or more volumes. You cannot remove a volume that is in use by a container. +Remove one or more volumes. You cannot remove a volume that is in use by a container. $ docker volume rm hello hello