Skip to content

Commit

Permalink
acl policy doc fixes
Browse files Browse the repository at this point in the history
Picked up from #5557,
particularly: c38a98e .
  • Loading branch information
Mahmood Ali committed May 17, 2019
1 parent a799749 commit 8f69e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions website/source/docs/commands/acl/policy-list.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
The policy list command is used to list available ACL policies.
---

# Command: acl policy info
# Command: acl policy list

The `acl policy list` command is used to list available ACL policies.

Expand All @@ -22,17 +22,17 @@ nomad acl policy list
#
## List Options

* `-json` : Output the namespaces in their JSON format.
* `-json` : Output the policies in their JSON format.

* `-t` : Format and display the namespaces using a Go template.
* `-t` : Format and display the policies using a Go template.

## Examples

List all ACL policies:

```
$ nomad acl policy list
Name Description
default-ns Write access to the default namespace
node-read Node read access
Name Description
policy-1 The first policy
policy-2 The second policy
```
2 changes: 1 addition & 1 deletion website/source/docs/commands/acl/token-self.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Fetch information about an existing ACL token:
```
$ export NOMAD_TOKEN=d532c40a-30f1-695c-19e5-c35b882b0efd

$ nomad acl tokenjself
$ nomad acl token self
Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd
Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7
Name = my token
Expand Down

0 comments on commit 8f69e44

Please sign in to comment.