diff options
Diffstat (limited to 'src/command/search.rs')
-rw-r--r-- | src/command/search.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/search.rs b/src/command/search.rs index f49f16e2..b45e366a 100644 --- a/src/command/search.rs +++ b/src/command/search.rs @@ -329,6 +329,7 @@ pub async fn run( exclude_cwd: Option<String>, before: Option<String>, after: Option<String>, + cmd_only: bool, query: &[String], db: &mut (impl Database + Send + Sync), ) -> Result<()> { @@ -412,7 +413,7 @@ pub async fn run( .map(std::borrow::ToOwned::to_owned) .collect(); - super::history::print_list(&results, human); + super::history::print_list(&results, human, cmd_only); } Ok(()) |