X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/5f81d796fed4e4efbaf6dbed7d3c69481afddeb3..43780806ca226bde306131141a619b80d3ab74a3:/src/command/version.rs?ds=sidebyside diff --git a/src/command/version.rs b/src/command/version.rs index a8b970b..e566c5a 100644 --- a/src/command/version.rs +++ b/src/command/version.rs @@ -1,4 +1,5 @@ use std::io::Result; +use crate::configuration::Configuration; pub struct Version; @@ -13,7 +14,7 @@ impl super::Command for Version { vec![] } - fn execute(&self, _: Option<&String>) -> Result<()> { + fn execute(&self, _: Option<&String>, _: &Configuration, _: &String) -> Result<()> { let version = env!("CARGO_PKG_VERSION"); println!("{}", version); return Ok(())