Skip to content

Commit

Permalink
delete: remove --cache-only option, fixes #7440
Browse files Browse the repository at this point in the history
for deleting the cache only, use:

borg rdelete --cache-only
  • Loading branch information
ThomasWaldmann committed Mar 20, 2023
1 parent 270b705 commit 02eb9cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/borg/archiver/delete_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 02eb9cd

Please sign in to comment.