Make --db case insensitive again (#12630)

This was broken in the switch to Clap v4.
This commit is contained in:
Bastian Köcher
2022-11-07 14:01:23 +01:00
committed by GitHub
parent be6f51895b
commit 81f123b72e
@@ -23,7 +23,7 @@ use clap::Args;
#[derive(Debug, Clone, PartialEq, Args)]
pub struct DatabaseParams {
/// Select database backend to use.
#[arg(long, alias = "db", value_name = "DB", value_enum)]
#[arg(long, alias = "db", value_name = "DB", ignore_case = true, value_enum)]
pub database: Option<Database>,
/// Limit the memory the database cache can use.