From 6cf22343776e804e350b9cd271bc40859a8c1465 Mon Sep 17 00:00:00 2001 From: allencloud Date: Wed, 2 Nov 2016 17:22:04 +0800 Subject: [PATCH] node rm can be applied on not only active node Signed-off-by: allencloud --- contrib/completion/zsh/_docker | 2 +- docs/reference/commandline/node_rm.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 06997ffadd..33dbdb265e 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -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) diff --git a/docs/reference/commandline/node_rm.md b/docs/reference/commandline/node_rm.md index 7cb512def4..c3046dbceb 100644 --- a/docs/reference/commandline/node_rm.md +++ b/docs/reference/commandline/node_rm.md @@ -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 ```