mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
use correct macro
This commit is contained in:
parent
7a5be42926
commit
a74ec7a1ad
@ -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)]
|
||||||
|
Loading…
Reference in New Issue
Block a user