From ee256f53242b68c7d2925de6140cb1b5fff87ba1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 21 May 2021 14:27:41 +0100 Subject: [PATCH] otter(1): reset bundles, do upload Signed-off-by: Ian Jackson --- src/bin/otter.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 3f2430f4..e58b7f2b 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -829,7 +829,11 @@ mod reset_game { if ma.verbose >= 0 { eprintln!("Re-uploading bundles: {}", why); } - todo!(); + let progress = termprogress::new(); + let mut progress = termprogress::Nest::new(local.len(), progress); + for bundle in local { + bundle.upload(&ma, &mut chan, &mut progress)?; + } }, } } -- 2.30.2