From b92dd1bab21b01e9428da58b7beaae89a061dba7 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 26 Jun 2015 00:04:35 +0200 Subject: [PATCH] the short prune options without "keep-" are deprecated, so do not suggest them --- borg/archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borg/archiver.py b/borg/archiver.py index e18c1b277..fb13af676 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -383,8 +383,8 @@ Type "Yes I am sure" if you understand this and want to continue.\n""") cache = Cache(repository, key, manifest, do_files=args.cache_files) archives = manifest.list_archive_infos(sort_by='ts', reverse=True) # just a ArchiveInfo list if args.hourly + args.daily + args.weekly + args.monthly + args.yearly == 0 and args.within is None: - self.print_error('At least one of the "within", "hourly", "daily", "weekly", "monthly" or "yearly" ' - 'settings must be specified') + self.print_error('At least one of the "within", "keep-hourly", "keep-daily", "keep-weekly", ' + '"keep-monthly" or "keep-yearly" settings must be specified') return 1 if args.prefix: archives = [archive for archive in archives if archive.name.startswith(args.prefix)]