2
0
Эх сурвалжийг харах

Merge pull request #5358 from ThomasWaldmann/docs-prune-add-double-force-1.1

docs: mention double --force in prune docs
TW 4 жил өмнө
parent
commit
580c4bd357

+ 2 - 1
src/borg/archiver.py

@@ -3814,7 +3814,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',