Просмотр исходного кода

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

Thalian 4 лет назад
Родитель
Сommit
a3d937d719
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):
@@ -3319,6 +3320,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
         ++++++++++
         ++++++++++
 
 
@@ -3949,7 +3952,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