mirror of https://github.com/status-im/consul.git
Merge pull request #12903 from hashicorp/docs/show-cli-cmd-options-before-general-options
Docs: Show CLI command-specific options before general options
This commit is contained in:
commit
bcbe9cc06d
|
@ -23,12 +23,6 @@ are not supported from commands, but may be from the corresponding HTTP endpoint
|
|||
|
||||
Usage: `consul acl auth-method create [options] [args]`
|
||||
|
||||
#### API Options
|
||||
|
||||
@include 'http_api_options_client.mdx'
|
||||
|
||||
@include 'http_api_options_server.mdx'
|
||||
|
||||
#### Command Options
|
||||
|
||||
- `-description=<string>` - A description of the auth method.
|
||||
|
@ -71,6 +65,8 @@ Usage: `consul acl auth-method create [options] [args]`
|
|||
|
||||
#### Enterprise Options
|
||||
|
||||
@include 'http_api_partition_options.mdx'
|
||||
|
||||
@include 'http_api_namespace_options.mdx'
|
||||
|
||||
- `-namespace-rule-bind-namespace=<value>` - Namespace to bind on match. Can
|
||||
|
@ -80,7 +76,11 @@ Usage: `consul acl auth-method create [options] [args]`
|
|||
verified identity attributes returned from the auth method during login to
|
||||
determine if the namespace rule applies. Added in Consul 1.8.0.
|
||||
|
||||
@include 'http_api_partition_options.mdx'
|
||||
#### API Options
|
||||
|
||||
@include 'http_api_options_client.mdx'
|
||||
|
||||
@include 'http_api_options_server.mdx'
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
Loading…
Reference in New Issue