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:
enkore 2017-03-12 11:56:09 +01:00 committed by GitHub
commit 5990b0ad9a
1 changed files with 1 additions and 1 deletions

View File

@ -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