1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

add short flag for force

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 9c9e10b0ca
Component: cli
This commit is contained in:
allencloud
2016-11-09 14:22:06 +08:00
committed by Tibor Vass
parent dc9be3e076
commit dc89d7cac6
2 changed files with 6 additions and 6 deletions

View File

@@ -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.

View File

@@ -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
```