aboutsummaryrefslogtreecommitdiff
path: root/src/command/help.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-02-25 22:06:19 +0000
committerRuben Beltran del Rio <git@r.bdr.sh>2024-02-25 22:06:19 +0000
commita9c6be4162bd15bd41ba3605127b56cb1eb32f32 (patch)
tree6d97b0c6286b1eabb2ef5cab34b472f1622584e5 /src/command/help.rs
parent53812065cf124b6c1bc40fceec46f8c161033e29 (diff)
Add part of the implementation for add
Diffstat (limited to 'src/command/help.rs')
-rw-r--r--src/command/help.rs3
1 files changed, 2 insertions, 1 deletions
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!("");