diff --git a/server-cli/src/cli.rs b/server-cli/src/cli.rs index f5a5825a6d..90148cd674 100644 --- a/server-cli/src/cli.rs +++ b/server-cli/src/cli.rs @@ -110,7 +110,7 @@ pub struct ArgvApp { #[arg(long)] /// Run without auth enabled pub no_auth: bool, - #[arg(default_value_t, long, short, value_parser = SqlLogMode::variants())] + #[arg(default_value_t, long, short, value_parser = clap::value_parser!(SqlLogMode))] /// Enables SQL logging pub sql_log_mode: SqlLogMode, #[command(subcommand)]