diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-16 11:17:11 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-16 11:20:39 +0200 |
commit | f8161b8551f982af61eb4385734adbef5642113e (patch) | |
tree | 82bf781d783bbfc3ec74d20617a7126d0513f81c /src/backup_progress.rs | |
parent | 9bc9ef697d786c48fada5062c1db4792e0c5e1f2 (diff) | |
download | obnam2-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.
Diffstat (limited to 'src/backup_progress.rs')
-rw-r--r-- | src/backup_progress.rs | 2 |
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}", ]; |