chore: remove deprecated search-min-length field

This commit is contained in:
imgurbot12 2024-07-10 01:27:16 -07:00
parent 370ebfa5ec
commit c345ffea81
2 changed files with 0 additions and 6 deletions

View File

@ -145,9 +145,6 @@ struct OptionArgs {
/// Override Search Restriction
#[arg(short = 'r', long)]
pub search_restrict: Option<String>,
/// Override Minimum Search Length
#[arg(short = 'm', long)]
pub search_min_length: Option<usize>,
/// Override Maximum Search Length
#[arg(short = 'M', long)]
pub search_max_length: Option<usize>,
@ -208,7 +205,6 @@ impl Into<Options> for OptionArgs {
hover_select: self.hover_select,
single_click: self.single_click,
search_restrict: self.search_restrict,
search_min_length: self.search_min_length,
search_max_length: self.search_max_length,
key_exec: self.key_exec,
key_exit: self.key_exit,

View File

@ -104,8 +104,6 @@ pub struct Options {
#[serde(skip_serializing_if = "Option::is_none")]
pub search_restrict: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub search_min_length: Option<usize>,
#[serde(skip_serializing_if = "Option::is_none")]
pub search_max_length: Option<usize>,
// key settings
#[serde(skip_serializing_if = "Option::is_none")]