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

Commit

Permalink
Make --db case insensitive again (#12630)
Browse files Browse the repository at this point in the history
This was broken in the switch to Clap v4.
  • Loading branch information
bkchr authored and coderobe committed Nov 8, 2022
1 parent 1795966 commit b0e994c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cli/src/params/database_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b0e994c

Please sign in to comment.