Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b0e994c

Browse files
bkchrcoderobe
authored andcommitted
Make --db case insensitive again (#12630)
This was broken in the switch to Clap v4.
1 parent 1795966 commit b0e994c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/cli/src/params/database_params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use clap::Args;
2323
#[derive(Debug, Clone, PartialEq, Args)]
2424
pub struct DatabaseParams {
2525
/// Select database backend to use.
26-
#[arg(long, alias = "db", value_name = "DB", value_enum)]
26+
#[arg(long, alias = "db", value_name = "DB", ignore_case = true, value_enum)]
2727
pub database: Option<Database>,
2828

2929
/// Limit the memory the database cache can use.

0 commit comments

Comments
 (0)