Clarify documentation on --exclude-if-present

This commit is contained in:
Alexander Neumann 2019-02-22 15:22:29 +01:00
parent 45a48eb4a8
commit 7519c73987
1 changed files with 1 additions and 2 deletions

View File

@ -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: