mirror of https://github.com/borgbackup/borg.git
Merge pull request #2286 from ThomasWaldmann/no-keep-last
fix error msg, there is no --keep-last in borg 1.0.x, fixes #2282
This commit is contained in:
commit
5990b0ad9a
|
@ -695,7 +695,7 @@ class Archiver:
|
|||
"""Prune repository archives according to specified rules"""
|
||||
if not any((args.hourly, args.daily,
|
||||
args.weekly, args.monthly, args.yearly, args.within)):
|
||||
self.print_error('At least one of the "keep-within", "keep-last", '
|
||||
self.print_error('At least one of the "keep-within", '
|
||||
'"keep-hourly", "keep-daily", '
|
||||
'"keep-weekly", "keep-monthly" or "keep-yearly" settings must be specified.')
|
||||
return self.exit_code
|
||||
|
|
Loading…
Reference in New Issue