X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/5f81d796fed4e4efbaf6dbed7d3c69481afddeb3..172f4c8807d44ebe38c7f227b7fdc2d6a9dbe323:/src/command/help.rs?ds=sidebyside 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!("");