use correct macro

This commit is contained in:
Isse 2023-05-05 14:49:14 +02:00
parent 7a5be42926
commit a74ec7a1ad

View File

@ -110,7 +110,7 @@ pub struct ArgvApp {
#[arg(long)] #[arg(long)]
/// Run without auth enabled /// Run without auth enabled
pub no_auth: bool, 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 /// Enables SQL logging
pub sql_log_mode: SqlLogMode, pub sql_log_mode: SqlLogMode,
#[command(subcommand)] #[command(subcommand)]