From 09d0d566a5a86ac2f032b441852747bbfacca764 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Wed, 21 Jun 2017 00:16:06 +0200 Subject: [PATCH] docs: with-lock: convert to proper admonition --- src/borg/archiver.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 449198ea6..e00e344a2 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -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__,