aboutsummaryrefslogtreecommitdiffstats
path: root/src/command_handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_handler.rs')
-rw-r--r--src/command_handler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_handler.rs b/src/command_handler.rs
index 742b79e..f65028b 100644
--- a/src/command_handler.rs
+++ b/src/command_handler.rs
@@ -24,7 +24,7 @@ pub fn parse_sub_command(matches: &ArgMatches) -> commands::Command {
pub fn handle_matches(
version: &str,
state: &mut State,
- config: &Config,
+ config: Config,
app: &mut App,
matches: &ArgMatches,
) -> Result<()> {
@@ -43,7 +43,7 @@ pub fn handle_matches(
arg_parser::subscribe(state, config, matches)?;
}
commands::Command::Search => {
- println!("This feature is coming soon...");
+ arg_parser::search(state, config, matches)?;
}
commands::Command::Remove => {
arg_parser::remove(state, matches)?;