with-lock: fix help text

This commit is contained in:
Marian Beermann 2017-07-24 10:33:03 +02:00
parent b85076db6f
commit 24de8514fa
1 changed files with 3 additions and 2 deletions

View File

@ -3525,8 +3525,9 @@ class Archiver:
.. note::
If you copy a repository with the lock held, the lock will be present in
the copy, obviously. Thus, before using borg on the copy, you need to
use "borg break-lock" on it.
the copy. Thus, before using borg on the copy from a different host,
you need to use "borg break-lock" on the copied repository, because
Borg is cautious and does not automatically remove stale locks made by a different host.
""")
subparser = subparsers.add_parser('with-lock', parents=[common_parser], add_help=False,
description=self.do_with_lock.__doc__,