Backport: docs: link to borg_patterns

This commit is contained in:
Andrey Bienkowski 2022-02-20 17:30:57 +03:00
parent a8e13dd64c
commit dffac711bb

View file

@ -2753,6 +2753,7 @@ class Archiver:
rst_plain_text_references = {
'a_status_oddity': '"I am seeing A (added) status for a unchanged file!?"',
'list_item_flags': '"Item flags"',
'borg_patterns': '"borg help patterns"',
'key_files': 'Internals -> Data structures and file formats -> Key files',
'borg_key_export': 'borg key export --help',
}
@ -3444,7 +3445,7 @@ class Archiver:
the state after creation. Also, the ``--stats`` and ``--dry-run`` options are mutually
exclusive because the data is not actually compressed and deduplicated during a dry run.
For more help on include/exclude patterns, see the ``borg help patterns`` command output.
For more help on include/exclude patterns, see the :ref:`borg_patterns` command output.
For more help on placeholders, see the ``borg help placeholders`` command output.
@ -3630,7 +3631,7 @@ class Archiver:
by passing a list of ``PATHs`` as arguments. The file selection can further
be restricted by using the ``--exclude`` option.
For more help on include/exclude patterns, see the ``borg help patterns`` command output.
For more help on include/exclude patterns, see the :ref:`borg_patterns` command output.
By using ``--dry-run``, you can do all extraction steps except actually writing the
output data: reading metadata and data chunks from the repo, checking the hash/hmac,
@ -3707,7 +3708,7 @@ class Archiver:
can be selected by passing a list of ``PATHs`` as arguments.
The file selection can further be restricted by using the ``--exclude`` option.
For more help on include/exclude patterns, see the ``borg help patterns`` command output.
For more help on include/exclude patterns, see the :ref:`borg_patterns` command output.
``--progress`` can be slower than no progress display, since it makes one additional
pass over the archive metadata.
@ -3747,7 +3748,7 @@ class Archiver:
pass ``--same-chunker-params``.
Note that the chunker params changed from Borg 0.xx to 1.0.
For more help on include/exclude patterns, see the ``borg help patterns`` command output.
For more help on include/exclude patterns, see the :ref:`borg_patterns` command output.
""")
subparser = subparsers.add_parser('diff', parents=[common_parser], add_help=False,
description=self.do_diff.__doc__,
@ -3829,7 +3830,7 @@ class Archiver:
list_epilog = process_epilog("""
This command lists the contents of a repository or an archive.
For more help on include/exclude patterns, see the ``borg help patterns`` command output.
For more help on include/exclude patterns, see the :ref:`borg_patterns` command output.
.. man NOTES