Add default show-not-deleted option

If set to `no`, PFERD won't print status or report messages for not deleted files
This commit is contained in:
Mr. Pine
2023-03-15 15:33:42 +01:00
committed by I-Al-Istannen
parent 68c398f1fe
commit e41a22149e
8 changed files with 45 additions and 5 deletions

View File

@ -496,7 +496,7 @@ class OutputDirectory:
except OSError:
pass
else:
log.status("[bold bright_magenta]", "Not deleted", fmt_path(pure))
log.not_deleted("[bold bright_magenta]", "Not deleted", fmt_path(pure))
self._report.not_delete_file(pure)
def load_prev_report(self) -> None: