Skip to content

Commit

Permalink
docs: fix command line (#824)
Browse files Browse the repository at this point in the history
* fix table 'Network Options'

* fixed typo

---------

Co-authored-by: Marcel Ludwig <[email protected]>
  • Loading branch information
johakoch and malud authored Apr 19, 2024
1 parent 82bcba1 commit 20f1fe4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Definitions struct {
JWT []*JWT `hcl:"jwt,block" docs:"Configure a [JWT access control](/configuration/block/jwt) (zero or more)."`
JWTSigningProfile []*JWTSigningProfile `hcl:"jwt_signing_profile,block" docs:"Configure a [JWT signing profile](/configuration/block/jwt_signing_profile) (zero or more)."`
SAML []*SAML `hcl:"saml,block" docs:"Configure a [SAML access control](/configuration/block/saml) (zero or more)."`
OAuth2AC []*OAuth2AC `hcl:"beta_oauth2,block" docs:"Configure an [OAuth2 assess control](/configuration/block/beta_oauth2) (zero or more)."`
OAuth2AC []*OAuth2AC `hcl:"beta_oauth2,block" docs:"Configure an [OAuth2 access control](/configuration/block/beta_oauth2) (zero or more)."`
OIDC []*OIDC `hcl:"oidc,block" docs:"Configure an [OIDC access control](/configuration/block/oidc) (zero or more)."`

// used for documentation
Expand Down
1 change: 1 addition & 0 deletions docs/website/content/2.configuration/0.command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ DEBU[0000] loaded files … […/global.hcl …/conf/a.hcl …/conf/b.hcl …/co
## Network Options

| Argument | Default | Environment Variable | Description |
|:----------------|:--------|:----------------------|:---------------------------------------------|
| `-bind-address` | `"*"` | `COUPER_BIND_ADDRESS` | A comma-separated list of addresses to bind. |

## Oberservation Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ values: [
"name": "beta_job"
},
{
"description": "Configure an [OAuth2 assess control](/configuration/block/beta_oauth2) (zero or more).",
"description": "Configure an [OAuth2 access control](/configuration/block/beta_oauth2) (zero or more).",
"name": "beta_oauth2"
},
{
Expand Down

0 comments on commit 20f1fe4

Please sign in to comment.