소스 검색

docs: point to borg create --list item flags in recreate usage, fixes #5165

Thalian 4 년 전
부모
커밋
78396bfc23
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/borg/archiver.py

+ 4 - 1
src/borg/archiver.py

@@ -2564,6 +2564,7 @@ class Archiver:
         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!?"',
             'separate_compaction': '"Separate compaction"',
             'separate_compaction': '"Separate compaction"',
+            'list_item_flags': '"Item flags"',
         }
         }
 
 
         def process_epilog(epilog):
         def process_epilog(epilog):
@@ -3110,6 +3111,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
         ++++++++++
         ++++++++++
 
 
@@ -4113,7 +4116,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