Merge pull request #4601 from d7415/pattern_example_1.1

Add example of exclude-norecurse rule in help patterns
This commit is contained in:
TW 2019-06-03 11:48:05 +02:00 committed by GitHub
commit e6e8f570f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -2333,7 +2333,9 @@ class Archiver:
# include susans home
+ /home/susan
# don't backup the other home directories
- /home/*\n\n''')
- /home/*
# don't even look in /proc
! /proc\n\n''')
helptext['placeholders'] = textwrap.dedent('''
Repository (or Archive) URLs, ``--prefix``, ``--glob-archives``, ``--comment``
and ``--remote-path`` values support these placeholders: