diff --git a/src/main.rs b/src/main.rs index 3d0e380..9bb5e92 100644 --- a/src/main.rs +++ b/src/main.rs @@ -317,7 +317,7 @@ fn main() -> Result<()> { // select storage let device = get_device(&config_dir)?; let storage = select_physical_storage(device, &storages)?; - trace!("storage: {:?}", storage); + println!("storage: {:?}", storage); let new_storage_name = storage.name().clone(); // add to storages @@ -329,10 +329,11 @@ fn main() -> Result<()> { // commit add_and_commit(&repo, &Path::new(STORAGESFILE), &format!("Add new storage(physical drive): {}", new_storage_name))?; - unimplemented!() + + println!("Added new storage."); + trace!("Finished adding storage"); } } - unimplemented!() } }, Commands::Path {} => { @@ -561,4 +562,4 @@ fn full_status(repo: &Repository) -> Result<()> { trace!(" {}: {:?}", path, st); } Ok(()) -} \ No newline at end of file +}