From bdc2dbfc0852e8d2da138ede5bc8d4caffb7eb1c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 28 Dec 2022 17:23:04 +0100 Subject: [PATCH] disallow --list with --progress, fixes #7219 --- src/borg/archiver/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/borg/archiver/__init__.py b/src/borg/archiver/__init__.py index 635e86835..f05b43174 100644 --- a/src/borg/archiver/__init__.py +++ b/src/borg/archiver/__init__.py @@ -384,6 +384,8 @@ class Archiver( func = get_func(args) if func == self.do_create and args.paths and args.paths_from_stdin: parser.error("Must not pass PATH with ``--paths-from-stdin``.") + if args.progress and getattr(args, "output_list", False): + parser.error("Options --progress and --list do not play nicely together.") if func == self.do_create and not args.paths: if args.content_from_command or args.paths_from_command: parser.error("No command given.")