Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make --db case insensitive again
This was broken in the switch to Clap v4.
  • Loading branch information
bkchr committed Nov 7, 2022
commit f5a8da5dd4b01498ad500b74e5eff16a57de63fb
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)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need this everywhere?

pub database: Option<Database>,

/// Limit the memory the database cache can use.
Expand Down