aboutsummaryrefslogtreecommitdiff
path: root/src/command/version.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/version.rs')
-rw-r--r--src/command/version.rs3
1 files changed, 2 insertions, 1 deletions
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(())