summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-02-16 11:17:11 +0200
committerLars Wirzenius <liw@liw.fi>2021-02-16 11:20:39 +0200
commitf8161b8551f982af61eb4385734adbef5642113e (patch)
tree82bf781d783bbfc3ec74d20617a7126d0513f81c
parent9bc9ef697d786c48fada5062c1db4792e0c5e1f2 (diff)
downloadobnam2-f8161b8551f982af61eb4385734adbef5642113e.tar.gz
fix: initial backup progress bar only shows total backup count
Previously it showed "N/M", where N was the number of files found in the current backup run, and M was the number of files found in the previous generation. But that made no sense for an initial backup, so now we only show N.
-rw-r--r--src/backup_progress.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backup_progress.rs b/src/backup_progress.rs
index fac56fb..b5ecc26 100644
--- a/src/backup_progress.rs
+++ b/src/backup_progress.rs
@@ -15,7 +15,7 @@ impl BackupProgress {
let parts = vec![
"initial backup",
"elapsed: {elapsed}",
- "files: {pos}/{len}",
+ "files: {pos}",
"current: {wide_msg}",
"{spinner}",
];