support docker node ps multiNodes

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: af4461ad290d660acab5ef87b96e392263cc7cb9
Component: engine
This commit is contained in:
allencloud
2016-09-04 15:38:50 +08:00
parent fcbd8b4fb4
commit 69668dcc9a
4 changed files with 49 additions and 25 deletions

View File

@ -115,7 +115,7 @@ read the [`dockerd`](dockerd.md) reference page.
| [node demote](node_demote.md) | Demotes an existing manager so that it is no longer a manager |
| [node inspect](node_inspect.md) | Inspect a node in the swarm |
| [node update](node_update.md) | Update attributes for a node |
| [node ps](node_ps.md) | List tasks running on a node |
| [node ps](node_ps.md) | List tasks running on one or more nodes |
| [node ls](node_ls.md) | List nodes in the swarm |
| [node rm](node_rm.md) | Remove one or more nodes from the swarm |

View File

@ -12,9 +12,9 @@ parent = "smn_cli"
# node ps
```markdown
Usage: docker node ps [OPTIONS] [NODE]
Usage: docker node ps [OPTIONS] [NODE...]
List tasks running on a node, defaults to current node.
List tasks running on one or more nodes, defaults to current node.
Options:
-a, --all Display all instances