From a9c6be4162bd15bd41ba3605127b56cb1eb32f32 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 25 Feb 2024 22:06:19 +0000 Subject: Add part of the implementation for add --- src/command/help.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command/help.rs') diff --git a/src/command/help.rs b/src/command/help.rs index 7ddcba8..8d2a2c0 100644 --- a/src/command/help.rs +++ b/src/command/help.rs @@ -1,5 +1,6 @@ use std::io::Result; use super::available_commands; +use crate::configuration::Configuration; pub struct Help; @@ -14,7 +15,7 @@ impl super::Command for Help { vec![] } - fn execute(&self, _: Option<&String>) -> Result<()> { + fn execute(&self, _: Option<&String>, _: &Configuration, _: &String) -> Result<()> { let commands = available_commands(); println!("Usage:"); println!(""); -- cgit