mirror of https://github.com/docker/cli.git
node rm can be applied on not only active node
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
94bc15016e
commit
6cf2234377
|
@ -818,7 +818,7 @@ __docker_node_subcommand() {
|
|||
(rm|remove)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help)--force[Force remove an active node]" \
|
||||
"($help)--force[Force remove a node from the swarm]" \
|
||||
"($help -)*:node:__docker_complete_pending_nodes" && ret=0
|
||||
;;
|
||||
(demote)
|
||||
|
|
|
@ -24,7 +24,7 @@ Aliases:
|
|||
rm, remove
|
||||
|
||||
Options:
|
||||
--force Force remove an active node
|
||||
--force Force remove a node from the swarm
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue