Browse Source

Merge pull request #2286 from ThomasWaldmann/no-keep-last

fix error msg, there is no --keep-last in borg 1.0.x, fixes #2282
enkore 8 years ago
parent
commit
5990b0ad9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borg/archiver.py

+ 1 - 1
borg/archiver.py

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