Skip to content

Commit 8f69e44

Browse files
author
Mahmood Ali
committed
acl policy doc fixes
Picked up from #5557, particularly: c38a98e .
1 parent a799749 commit 8f69e44

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

website/source/docs/commands/acl/policy-list.html.md.erb

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
The policy list command is used to list available ACL policies.
77
---
88

9-
# Command: acl policy info
9+
# Command: acl policy list
1010

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

@@ -22,17 +22,17 @@ nomad acl policy list
2222
#
2323
## List Options
2424

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

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

2929
## Examples
3030

3131
List all ACL policies:
3232

3333
```
3434
$ nomad acl policy list
35-
Name Description
36-
default-ns Write access to the default namespace
37-
node-read Node read access
35+
Name Description
36+
policy-1 The first policy
37+
policy-2 The second policy
3838
```

website/source/docs/commands/acl/token-self.html.md.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Fetch information about an existing ACL token:
2828
```
2929
$ export NOMAD_TOKEN=d532c40a-30f1-695c-19e5-c35b882b0efd
3030

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

0 commit comments

Comments
 (0)