From 7519c739872d8c1b4238f9027edc24c92533e4c6 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 22 Feb 2019 15:22:29 +0100 Subject: [PATCH] Clarify documentation on --exclude-if-present --- doc/040_backup.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 3c0e1f879..3513e5854 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -142,8 +142,7 @@ the exclude options are: - ``--iexclude`` Same as ``--exclude`` but ignores the case of paths - ``--exclude-caches`` Specified once to exclude folders containing a special file - ``--exclude-file`` Specified one or more times to exclude items listed in a given file -- ``--exclude-if-present`` Specified one or more times to exclude a folders content - if it contains a given file (optionally having a given header) +- ``--exclude-if-present foo`` Specified one or more times to exclude a folder's content if it contains a file called ``foo``` (optionally having a given header, no wildcards for the file name supported) Let's say we have a file called ``excludes.txt`` with the following content: