From 8943741a0bdbd30b34295a3a1f8dc26786bba7ec Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 8 May 2018 20:36:58 +0200 Subject: [PATCH] Fix code block --- doc/040_backup.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index badc836ba..346d01a6e 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -135,6 +135,7 @@ the exclude options are: Let's say we have a file called ``excludes.txt`` with the following content: :: + # exclude go-files *.go # exclude foo/x/y/z/bar foo/x/bar foo/bar @@ -164,7 +165,7 @@ Patterns need to match on complete path components. For example, the pattern ``f * matches ``/dir1/foo/dir2/file`` and ``/dir/foo`` * does not match ``/dir/foobar`` or ``barfoo`` - + A trailing ``/`` is ignored, a leading ``/`` anchors the pattern at the root directory. This means, ``/bin`` matches ``/bin/bash`` but does not match ``/usr/bin/restic``.