Skip to content
Snippets Groups Projects
Commit 81f123b7 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Make `--db` case insensitive again (#12630)

This was broken in the switch to Clap v4.
parent be6f5189
No related merge requests found
......@@ -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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment