Prechádzať zdrojové kódy

docs: mention double --force in prune docs

Thomas Waldmann 4 rokov pred
rodič
commit
90aef3bfcc
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/borg/archiver.py

+ 2 - 1
src/borg/archiver.py

@@ -4063,7 +4063,8 @@ class Archiver:
         subparser.add_argument('-n', '--dry-run', dest='dry_run', action='store_true',
         subparser.add_argument('-n', '--dry-run', dest='dry_run', action='store_true',
                                help='do not change repository')
                                help='do not change repository')
         subparser.add_argument('--force', dest='forced', action='store_true',
         subparser.add_argument('--force', dest='forced', action='store_true',
-                               help='force pruning of corrupted archives')
+                               help='force pruning of corrupted archives, '
+                                    'use ``--force --force`` in case ``--force`` does not work.')
         subparser.add_argument('-s', '--stats', dest='stats', action='store_true',
         subparser.add_argument('-s', '--stats', dest='stats', action='store_true',
                                help='print statistics for the deleted archive')
                                help='print statistics for the deleted archive')
         subparser.add_argument('--list', dest='output_list', action='store_true',
         subparser.add_argument('--list', dest='output_list', action='store_true',