浏览代码

Merge pull request #5269 from fantasya-pbem/docs/5165_recreate-list-item-flags_1.1-maint

docs: point to borg create --list item flags in recreate usage, fixes #5165
TW 5 年之前
父节点
当前提交
97a65f6b98
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/borg/archiver.py

+ 4 - 1
src/borg/archiver.py

@@ -2672,6 +2672,7 @@ class Archiver:
         # It will replace the entire :ref:`foo` verbatim.
         # It will replace the entire :ref:`foo` verbatim.
         rst_plain_text_references = {
         rst_plain_text_references = {
             'a_status_oddity': '"I am seeing ‘A’ (added) status for a unchanged file!?"',
             'a_status_oddity': '"I am seeing ‘A’ (added) status for a unchanged file!?"',
+            'list_item_flags': '"Item flags"',
         }
         }
 
 
         def process_epilog(epilog):
         def process_epilog(epilog):
@@ -3320,6 +3321,8 @@ class Archiver:
         and not include any other contents of the containing folder, this can be enabled
         and not include any other contents of the containing folder, this can be enabled
         through using the ``--keep-exclude-tags`` option.
         through using the ``--keep-exclude-tags`` option.
 
 
+        .. _list_item_flags:
+
         Item flags
         Item flags
         ++++++++++
         ++++++++++
 
 
@@ -3969,7 +3972,7 @@ class Archiver:
         Depending on the PATHs and patterns given, recreate can be used to permanently
         Depending on the PATHs and patterns given, recreate can be used to permanently
         delete files from archives.
         delete files from archives.
         When in doubt, use ``--dry-run --verbose --list`` to see how patterns/PATHS are
         When in doubt, use ``--dry-run --verbose --list`` to see how patterns/PATHS are
-        interpreted.
+        interpreted. See :ref:`list_item_flags` in ``borg create`` for details.
 
 
         The archive being recreated is only removed after the operation completes. The
         The archive being recreated is only removed after the operation completes. The
         archive that is built during the operation exists at the same time at
         archive that is built during the operation exists at the same time at