docs: with-lock: convert to proper admonition

This commit is contained in:
Marian Beermann 2017-06-21 00:16:06 +02:00
parent 88ae1ebf33
commit 09d0d566a5
1 changed files with 5 additions and 3 deletions

View File

@ -3591,9 +3591,11 @@ class Archiver:
for its termination, release the lock and return the user command's return
code as borg's return code.
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.
.. 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.
""")
subparser = subparsers.add_parser('with-lock', parents=[common_parser], add_help=False,
description=self.do_with_lock.__doc__,