From 02eb9cd443186eeb36f633e6a95d45bac7be3bcc Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 20 Mar 2023 20:51:13 +0100 Subject: [PATCH] delete: remove --cache-only option, fixes #7440 for deleting the cache only, use: borg rdelete --cache-only --- src/borg/archiver/delete_cmd.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/borg/archiver/delete_cmd.py b/src/borg/archiver/delete_cmd.py index 6f94020dbb..5ff6817d45 100644 --- a/src/borg/archiver/delete_cmd.py +++ b/src/borg/archiver/delete_cmd.py @@ -142,12 +142,6 @@ def build_parser_delete(self, subparsers, common_parser, mid_common_parser): subparser.add_argument( "-s", "--stats", dest="stats", action="store_true", help="print statistics for the deleted archive" ) - subparser.add_argument( - "--cache-only", - dest="cache_only", - action="store_true", - help="delete only the local cache for the given repository", - ) subparser.add_argument( "--force", dest="forced",