浏览代码

docs: with-lock: convert to proper admonition

Marian Beermann 8 年之前
父节点
当前提交
09d0d566a5
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/borg/archiver.py

+ 5 - 3
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__,