|
@@ -327,16 +327,24 @@ def make_parsers():
|
|
|
'--last', metavar='N', help='Only transfer last N archives after other filters are applied'
|
|
|
)
|
|
|
transfer_group.add_argument(
|
|
|
- '--oldest', metavar='TIMESPAN', help='Transfer archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--oldest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Transfer archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
transfer_group.add_argument(
|
|
|
- '--newest', metavar='TIMESPAN', help='Transfer archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--newest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Transfer archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
transfer_group.add_argument(
|
|
|
- '--older', metavar='TIMESPAN', help='Transfer archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--older',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Transfer archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
transfer_group.add_argument(
|
|
|
- '--newer', metavar='TIMESPAN', help='Transfer archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--newer',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Transfer archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
transfer_group.add_argument(
|
|
|
'-h', '--help', action='help', help='Show this help message and exit'
|
|
@@ -365,16 +373,24 @@ def make_parsers():
|
|
|
'--list', dest='list_archives', action='store_true', help='List archives kept/pruned'
|
|
|
)
|
|
|
prune_group.add_argument(
|
|
|
- '--oldest', metavar='TIMESPAN', help='Prune archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--oldest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Prune archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
prune_group.add_argument(
|
|
|
- '--newest', metavar='TIMESPAN', help='Prune archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--newest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Prune archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
prune_group.add_argument(
|
|
|
- '--older', metavar='TIMESPAN', help='Prune archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--older',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Prune archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
prune_group.add_argument(
|
|
|
- '--newer', metavar='TIMESPAN', help='Prune archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--newer',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Prune archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
prune_group.add_argument('-h', '--help', action='help', help='Show this help message and exit')
|
|
|
|
|
@@ -625,16 +641,24 @@ def make_parsers():
|
|
|
'--last', metavar='N', help='Mount last N archives after other filters are applied'
|
|
|
)
|
|
|
mount_group.add_argument(
|
|
|
- '--oldest', metavar='TIMESPAN', help='Mount archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--oldest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Mount archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
mount_group.add_argument(
|
|
|
- '--newest', metavar='TIMESPAN', help='Mount archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--newest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Mount archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
mount_group.add_argument(
|
|
|
- '--older', metavar='TIMESPAN', help='Mount archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--older',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Mount archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
mount_group.add_argument(
|
|
|
- '--newer', metavar='TIMESPAN', help='Mount archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--newer',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Mount archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
mount_group.add_argument('--options', dest='options', help='Extra Borg mount options')
|
|
|
mount_group.add_argument('-h', '--help', action='help', help='Show this help message and exit')
|
|
@@ -728,16 +752,24 @@ def make_parsers():
|
|
|
'--last', metavar='N', help='List last N archives after other filters are applied'
|
|
|
)
|
|
|
rlist_group.add_argument(
|
|
|
- '--oldest', metavar='TIMESPAN', help='List archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--oldest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='List archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
rlist_group.add_argument(
|
|
|
- '--newest', metavar='TIMESPAN', help='List archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--newest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='List archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
rlist_group.add_argument(
|
|
|
- '--older', metavar='TIMESPAN', help='List archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--older',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='List archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
rlist_group.add_argument(
|
|
|
- '--newer', 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]'
|
|
|
+ '--newer',
|
|
|
+ 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]',
|
|
|
)
|
|
|
rlist_group.add_argument('-h', '--help', action='help', help='Show this help message and exit')
|
|
|
|
|
@@ -871,16 +903,24 @@ def make_parsers():
|
|
|
'--last', metavar='N', help='Show info for last N archives after other filters are applied'
|
|
|
)
|
|
|
info_group.add_argument(
|
|
|
- '--oldest', metavar='TIMESPAN', help='Show info for archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--oldest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Show info for archives within a specified time range starting from the timestamp of the oldest archive (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
info_group.add_argument(
|
|
|
- '--newest', metavar='TIMESPAN', help='Show info for archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]'
|
|
|
+ '--newest',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Show info for archives within a time range that ends at timestamp of the newest archive and starts a specified time range ago (e.g. 7d or 12m) [Borg 2.x+ only]',
|
|
|
)
|
|
|
info_group.add_argument(
|
|
|
- '--older', metavar='TIMESPAN', help='Show info for archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--older',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Show info for archives that are older than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
info_group.add_argument(
|
|
|
- '--newer', metavar='TIMESPAN', help='Show info for archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]'
|
|
|
+ '--newer',
|
|
|
+ metavar='TIMESPAN',
|
|
|
+ help='Show info for archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]',
|
|
|
)
|
|
|
info_group.add_argument('-h', '--help', action='help', help='Show this help message and exit')
|
|
|
|