diff --git a/website/source/docs/commands/acl/auth-method/create.html.md.erb b/website/source/docs/commands/acl/auth-method/create.html.md.erb index b2ecbb656c..1ae30eb4d0 100644 --- a/website/source/docs/commands/acl/auth-method/create.html.md.erb +++ b/website/source/docs/commands/acl/auth-method/create.html.md.erb @@ -42,6 +42,8 @@ Usage: `consul acl auth-method create [options] [args]` used to access the TokenReview API to validate other JWTs during login. This flag is required for `-type=kubernetes`. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/auth-method/list.html.md.erb b/website/source/docs/commands/acl/auth-method/list.html.md.erb index 19eedccd7e..f7f2bbb248 100644 --- a/website/source/docs/commands/acl/auth-method/list.html.md.erb +++ b/website/source/docs/commands/acl/auth-method/list.html.md.erb @@ -23,6 +23,8 @@ Usage: `consul acl auth-method list` * `-meta` - Indicates that auth method metadata such as the raft indices should be shown for each entry. + +* `-format={pretty|json}` - Command output format. The default value is `pretty`. #### Enterprise Options diff --git a/website/source/docs/commands/acl/auth-method/read.html.md.erb b/website/source/docs/commands/acl/auth-method/read.html.md.erb index 7f23f283f4..33665ee2eb 100644 --- a/website/source/docs/commands/acl/auth-method/read.html.md.erb +++ b/website/source/docs/commands/acl/auth-method/read.html.md.erb @@ -26,6 +26,8 @@ Usage: `consul acl auth-method read [options] [args]` * `-name=` - The name of the auth method to read. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/auth-method/update.html.md.erb b/website/source/docs/commands/acl/auth-method/update.html.md.erb index 825b9a9e9f..74bfa0d5ff 100644 --- a/website/source/docs/commands/acl/auth-method/update.html.md.erb +++ b/website/source/docs/commands/acl/auth-method/update.html.md.erb @@ -46,6 +46,8 @@ Usage: `consul acl auth-method update [options] [args]` * `-no-merge` - Do not merge the current auth method information with what is provided to the command. Instead overwrite all fields with the exception of the auth method ID which is immutable. + +* `-format={pretty|json}` - Command output format. The default value is `pretty`. #### Enterprise Options diff --git a/website/source/docs/commands/acl/binding-rule/create.html.md.erb b/website/source/docs/commands/acl/binding-rule/create.html.md.erb index b791f1f765..006b966acb 100644 --- a/website/source/docs/commands/acl/binding-rule/create.html.md.erb +++ b/website/source/docs/commands/acl/binding-rule/create.html.md.erb @@ -37,6 +37,8 @@ Usage: `consul acl binding-rule create [options] [args]` * `-selector=` - Selector is an expression that matches against verified identity attributes returned from the auth method during login. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/binding-rule/list.html.md.erb b/website/source/docs/commands/acl/binding-rule/list.html.md.erb index f71ec55dd1..658d9a256b 100644 --- a/website/source/docs/commands/acl/binding-rule/list.html.md.erb +++ b/website/source/docs/commands/acl/binding-rule/list.html.md.erb @@ -24,6 +24,8 @@ Usage: `consul acl binding-rule list` * `-meta` - Indicates that binding rule metadata such as the raft indices should be shown for each entry. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/binding-rule/read.html.md.erb b/website/source/docs/commands/acl/binding-rule/read.html.md.erb index cbb57e90a9..1cf64eef77 100644 --- a/website/source/docs/commands/acl/binding-rule/read.html.md.erb +++ b/website/source/docs/commands/acl/binding-rule/read.html.md.erb @@ -27,6 +27,8 @@ Usage: `consul acl binding-rule read [options] [args]` * `-meta` - Indicates that binding rule metadata such as the raft indices should be shown for each entry. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/binding-rule/update.html.md.erb b/website/source/docs/commands/acl/binding-rule/update.html.md.erb index 7cae275bb8..f7042fa7e3 100644 --- a/website/source/docs/commands/acl/binding-rule/update.html.md.erb +++ b/website/source/docs/commands/acl/binding-rule/update.html.md.erb @@ -44,6 +44,8 @@ Usage: `consul acl binding-rule update [options] [args]` * `-selector=` - Selector is an expression that matches against verified identity attributes returned from the auth method during login. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/bootstrap.html.md.erb b/website/source/docs/commands/acl/bootstrap.html.md.erb index e8501d8880..d31a67229a 100644 --- a/website/source/docs/commands/acl/bootstrap.html.md.erb +++ b/website/source/docs/commands/acl/bootstrap.html.md.erb @@ -24,6 +24,9 @@ Usage: `consul acl bootstrap [options]` <%= partial "docs/commands/http_api_options_client" %> <%= partial "docs/commands/http_api_options_server" %> +#### Command Options +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + The output looks like this: ```text diff --git a/website/source/docs/commands/acl/policy/create.html.md.erb b/website/source/docs/commands/acl/policy/create.html.md.erb index 89377c61d4..18a92acd21 100644 --- a/website/source/docs/commands/acl/policy/create.html.md.erb +++ b/website/source/docs/commands/acl/policy/create.html.md.erb @@ -55,6 +55,8 @@ Usage: `consul acl policy create [options] [args]` * `-valid-datacenter=` - Datacenter that the policy should be valid within. This flag may be specified multiple times. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/policy/list.html.md.erb b/website/source/docs/commands/acl/policy/list.html.md.erb index 3b573e6daf..de67004bbf 100644 --- a/website/source/docs/commands/acl/policy/list.html.md.erb +++ b/website/source/docs/commands/acl/policy/list.html.md.erb @@ -24,6 +24,8 @@ Usage: `consul acl policy list` * `-meta` - Indicates that policy metadata such as the content hash and Raft indices should be shown for each entry. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/policy/read.html.md.erb b/website/source/docs/commands/acl/policy/read.html.md.erb index 732d7985b8..65118ce01d 100644 --- a/website/source/docs/commands/acl/policy/read.html.md.erb +++ b/website/source/docs/commands/acl/policy/read.html.md.erb @@ -29,6 +29,8 @@ Usage: `consul acl policy read [options] [args]` * `-name=` - The name of the policy to read. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/policy/update.html.md.erb b/website/source/docs/commands/acl/policy/update.html.md.erb index 23f0ed8b23..c002bcdf63 100644 --- a/website/source/docs/commands/acl/policy/update.html.md.erb +++ b/website/source/docs/commands/acl/policy/update.html.md.erb @@ -46,6 +46,8 @@ Usage: `consul acl policy update [options] [args]` * `-valid-datacenter=` - Datacenter that the policy should be valid within. This flag may be specified multiple times. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/role/create.html.md.erb b/website/source/docs/commands/acl/role/create.html.md.erb index bb96a50921..0f7eac554b 100644 --- a/website/source/docs/commands/acl/role/create.html.md.erb +++ b/website/source/docs/commands/acl/role/create.html.md.erb @@ -38,6 +38,8 @@ Usage: `consul acl role create [options] [args]` role. May be specified multiple times. Format is the `SERVICENAME` or `SERVICENAME:DATACENTER1,DATACENTER2,...` +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/role/list.html.md.erb b/website/source/docs/commands/acl/role/list.html.md.erb index 84a9674366..36fca09ef4 100644 --- a/website/source/docs/commands/acl/role/list.html.md.erb +++ b/website/source/docs/commands/acl/role/list.html.md.erb @@ -24,6 +24,8 @@ Usage: `consul acl role list` * `-meta` - Indicates that role metadata such as the content hash and Raft indices should be shown for each entry. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/role/read.html.md.erb b/website/source/docs/commands/acl/role/read.html.md.erb index b913a67167..ad97fe4cef 100644 --- a/website/source/docs/commands/acl/role/read.html.md.erb +++ b/website/source/docs/commands/acl/role/read.html.md.erb @@ -29,6 +29,8 @@ Usage: `consul acl role read [options] [args]` * `-name=` - The name of the role to read. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/role/update.html.md.erb b/website/source/docs/commands/acl/role/update.html.md.erb index 20018e478e..2d13fe69f9 100644 --- a/website/source/docs/commands/acl/role/update.html.md.erb +++ b/website/source/docs/commands/acl/role/update.html.md.erb @@ -49,6 +49,8 @@ Usage: `consul acl role update [options] [args]` role. May be specified multiple times. Format is the `SERVICENAME` or `SERVICENAME:DATACENTER1,DATACENTER2,...` +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/token/clone.html.md.erb b/website/source/docs/commands/acl/token/clone.html.md.erb index 3ec458c5ea..9872ad874c 100644 --- a/website/source/docs/commands/acl/token/clone.html.md.erb +++ b/website/source/docs/commands/acl/token/clone.html.md.erb @@ -28,6 +28,8 @@ Usage: `consul acl token clone [options]` Accessor IDs. The special value of 'anonymous' may be provided instead of the anonymous tokens accessor ID +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/token/create.html.md.erb b/website/source/docs/commands/acl/token/create.html.md.erb index aadd4fb468..084bcaee51 100644 --- a/website/source/docs/commands/acl/token/create.html.md.erb +++ b/website/source/docs/commands/acl/token/create.html.md.erb @@ -52,6 +52,8 @@ Usage: `consul acl token create [options] [args]` **Note**: The SecretID is used to authorize operations against Consul and should be generated from an appropriate cryptographic source. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/token/list.html.md.erb b/website/source/docs/commands/acl/token/list.html.md.erb index 18d3855706..8d26a6c5b5 100644 --- a/website/source/docs/commands/acl/token/list.html.md.erb +++ b/website/source/docs/commands/acl/token/list.html.md.erb @@ -24,6 +24,8 @@ Usage: `consul acl token list` * `-meta` - Indicates that token metadata such as the content hash and Raft indices should be shown for each entry. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/token/read.html.md.erb b/website/source/docs/commands/acl/token/read.html.md.erb index 5cbee72ffe..d1bc816299 100644 --- a/website/source/docs/commands/acl/token/read.html.md.erb +++ b/website/source/docs/commands/acl/token/read.html.md.erb @@ -30,6 +30,8 @@ Usage: `consul acl token read [options] [args]` * `-self` - Indicates that the current HTTP token should be read by secret ID instead of expecting a -id option. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %> diff --git a/website/source/docs/commands/acl/token/update.html.md.erb b/website/source/docs/commands/acl/token/update.html.md.erb index 7c4a4ef86d..f563caf420 100644 --- a/website/source/docs/commands/acl/token/update.html.md.erb +++ b/website/source/docs/commands/acl/token/update.html.md.erb @@ -59,6 +59,8 @@ token migration](https://learn.hashicorp.com/consul/day-2-agent-authentication/migrate-acl-tokens) guide. +* `-format={pretty|json}` - Command output format. The default value is `pretty`. + #### Enterprise Options <%= partial "docs/commands/http_api_namespace_options" %>