Pārlūkot izejas kodu

Merge pull request #7455 from ThomasWaldmann/remove-cache-only-from-delete

delete: remove --cache-only option, fixes #7440
TW 2 gadi atpakaļ
vecāks
revīzija
46f1cda204
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0 6
      src/borg/archiver/delete_cmd.py

+ 0 - 6
src/borg/archiver/delete_cmd.py

@@ -142,12 +142,6 @@ class DeleteMixIn:
         subparser.add_argument(
         subparser.add_argument(
             "-s", "--stats", dest="stats", action="store_true", help="print statistics for the deleted archive"
             "-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(
         subparser.add_argument(
             "--force",
             "--force",
             dest="forced",
             dest="forced",