From 9c9e10b0caaf5a0e51b6dff54c6817375e6623cb Mon Sep 17 00:00:00 2001 From: allencloud Date: Wed, 9 Nov 2016 14:22:06 +0800 Subject: [PATCH] add short flag for force Signed-off-by: allencloud --- docs/reference/commandline/node_rm.md | 6 +++--- docs/reference/commandline/swarm_leave.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/commandline/node_rm.md b/docs/reference/commandline/node_rm.md index 1b1e4ba023..616be0a99b 100644 --- a/docs/reference/commandline/node_rm.md +++ b/docs/reference/commandline/node_rm.md @@ -16,7 +16,7 @@ keywords: "node, remove" # node rm ```markdown -Usage: docker node rm [OPTIONS] NODE [NODE...] +Usage: docker node rm [OPTIONS] NODE [NODE...] Remove one or more nodes from the swarm @@ -24,8 +24,8 @@ Aliases: rm, remove Options: - --force Force remove a node from the swarm - --help Print usage + -f, --force Force remove a node from the swarm + --help Print usage ``` When run from a manager node, removes the specified nodes from a swarm. diff --git a/docs/reference/commandline/swarm_leave.md b/docs/reference/commandline/swarm_leave.md index f0f31ee239..4dcccc6988 100644 --- a/docs/reference/commandline/swarm_leave.md +++ b/docs/reference/commandline/swarm_leave.md @@ -16,12 +16,12 @@ keywords: "swarm, leave" # swarm leave ```markdown -Usage: docker swarm leave [OPTIONS] +Usage: docker swarm leave [OPTIONS] -Leave the swarm (workers only). +Leave the swarm (workers only) Options: - --force Force this node to leave the swarm, ignoring warnings + -f, --force Force this node to leave the swarm, ignoring warnings --help Print usage ```