summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-05-12 13:11:53 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-05-12 14:24:45 +0200
commit7e6b65ea3d72231c5f7181b70087b9b97ca69222 (patch)
tree1985f4f67b5a9002c6faa557023ab0d4b0e9cf95
parentd671ce91bd74a7f31c5d36d217fd61668da3d66b (diff)
Report URL of finished download in bar finish message
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/commands/source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/source.rs b/src/commands/source.rs
index 0fc1eac..7ba1b4d 100644
--- a/src/commands/source.rs
+++ b/src/commands/source.rs
@@ -296,7 +296,7 @@ pub async fn download(
}
file.flush().await?;
- bar.finish_with_message("Finished download");
+ bar.finish_with_message(format!("Finished: {}", source.url()));
Ok(())
}
}