Add a "--deleted" flag to the "repo-list" action (Borg 2 only).
All checks were successful
build / test (push) Successful in 5m49s
build / docs (push) Successful in 1m39s

This commit is contained in:
Dan Helfman 2024-11-19 22:33:15 -08:00
parent 97305cc3ce
commit 7c90c04ce0
3 changed files with 11 additions and 1 deletions

4
NEWS
View File

@ -1,3 +1,7 @@
1.9.3.dev0
* Add a "--deleted" flag to the "repo-list" action for listing deleted archives that haven't
yet been compacted (Borg 2 only).
1.9.2
* #441: Apply the "umask" option to all relevant actions, not just some of them.
* #722: Remove the restriction that the "extract" and "mount" actions must match a single

View File

@ -1244,6 +1244,12 @@ def make_parsers():
metavar='TIMESPAN',
help='List archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
)
repo_list_group.add_argument(
'--deleted',
default=False,
action='store_true',
help="List only deleted archives that haven't yet been compacted [Borg 2.x+ only]",
)
repo_list_group.add_argument(
'-h', '--help', action='help', help='Show this help message and exit'
)

View File

@ -1,6 +1,6 @@
[project]
name = "borgmatic"
version = "1.9.2"
version = "1.9.3.dev0"
authors = [
{ name="Dan Helfman", email="witten@torsion.org" },
]