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:
Jared Kirschner 2022-07-27 02:18:04 -04:00 committed by GitHub
commit bcbe9cc06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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