diff --git a/docs/usage/prune.rst.inc b/docs/usage/prune.rst.inc index 7ca4cc663..dd82bf0ef 100644 --- a/docs/usage/prune.rst.inc +++ b/docs/usage/prune.rst.inc @@ -21,7 +21,7 @@ borg prune +-----------------------------------------------------------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ | | ``-n``, ``--dry-run`` | do not change repository | +-----------------------------------------------------------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ - | | ``--force`` | force pruning of corrupted archives, use ``--force --force`` in case ``--force`` does not work. | + | | ``--force`` | force pruning of corrupted archives | +-----------------------------------------------------------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ | | ``-s``, ``--stats`` | print statistics for the deleted archive | +-----------------------------------------------------------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 9779d81ad..efb5d96d7 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -4063,7 +4063,8 @@ def define_borg_mount(parser): subparser.add_argument('-n', '--dry-run', dest='dry_run', action='store_true', help='do not change repository') 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', help='print statistics for the deleted archive') subparser.add_argument('--list', dest='output_list', action='store_true',