Skip to content

Commit

Permalink
fix: arg name and error print (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh authored Jan 19, 2025
1 parent 4adf285 commit 624aef0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ pub struct Options {
#[derive(Parser, Debug)]
pub struct OidcConfig {
#[arg(
long = "oidc-client-id",
long = "oidc-client",
name = "oidc-client",
env = "P_OIDC_CLIENT_ID",
required = false,
help = "Client id for OIDC provider"
Expand All @@ -376,6 +377,7 @@ pub struct OidcConfig {

#[arg(
long = "oidc-client-secret",
name = "oidc-client-secret",
env = "P_OIDC_CLIENT_SECRET",
required = false,
help = "Client secret for OIDC provider"
Expand All @@ -384,6 +386,7 @@ pub struct OidcConfig {

#[arg(
long = "oidc-issuer",
name = "oidc-issuer",
env = "P_OIDC_ISSUER",
required = false,
value_parser = validation::url,
Expand Down

0 comments on commit 624aef0

Please sign in to comment.