diff options
Diffstat (limited to 'src/command/client/search.rs')
| -rw-r--r-- | src/command/client/search.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/command/client/search.rs b/src/command/client/search.rs index eda20ac5..1cef1ffc 100644 --- a/src/command/client/search.rs +++ b/src/command/client/search.rs @@ -63,14 +63,7 @@ pub struct Cmd { impl Cmd { pub async fn run(self, db: &mut impl Database, settings: &Settings) -> Result<()> { if self.interactive { - let item = interactive::history( - &self.query, - settings.search_mode, - settings.filter_mode, - settings.style, - db, - ) - .await?; + let item = interactive::history(&self.query, settings, db).await?; eprintln!("{}", item); } else { let list_mode = ListMode::from_flags(self.human, self.cmd_only); |
