Merge pull request #25214 from allencloud/make-node-ps-default-to-self

make node ps default to self in swarm node
Upstream-commit: bb1d70da9ad5804794b7aea77abe59fb9e3ac196
Component: engine
This commit is contained in:
Daniel Nephin
2016-08-30 10:37:20 -04:00
committed by GitHub
9 changed files with 21 additions and 16 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 a node |
| [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] self|NODE
Usage: docker node ps [OPTIONS] [NODE]
List tasks running on a node
List tasks running on a node, defaults to current node.
Options:
-a, --all Display all instances