X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d620665f6b2e1ae5db4c98a09e35bd63133ae87f..refs/heads/rust:/src/command/sync_up.rs diff --git a/src/command/sync_up.rs b/src/command/sync_up.rs index cf49518..635de10 100644 --- a/src/command/sync_up.rs +++ b/src/command/sync_up.rs @@ -1,4 +1,5 @@ use std::io::Result; +use crate::configuration::Configuration; pub struct SyncUp; @@ -13,7 +14,7 @@ impl super::Command for SyncUp { vec![] } - fn execute(&self, input: Option<&String>) -> Result<()> { + fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> { println!("Sync Up: {:?}!", input); return Ok(()) } @@ -27,6 +28,6 @@ impl super::Command for SyncUp { } fn help(&self) -> &'static str { - "\t\t\t\tPushes to the git remote if configured." + "\t\t\t\tPushes to the git remote if configured" } }