diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-13 19:10:01 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-13 19:10:01 +0000 |
commit | d01923de93a22905ac87a86aaad57e81bd74b431 (patch) | |
tree | df2e72460acf08113f9d3c8ee0bd51976661c485 | |
parent | acddf011115d7537bd4d7cae91977c0c897ac047 (diff) | |
download | obnam-d01923de93a22905ac87a86aaad57e81bd74b431.tar.gz |
Point at CACHEDIR.TAG resources for --exclude-caches
Reported-by: Osamu Aoki <osamu@debian.org>
-rw-r--r-- | obnamlib/plugins/backup_plugin.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py index 1d80b6b7..517c6015 100644 --- a/obnamlib/plugins/backup_plugin.py +++ b/obnamlib/plugins/backup_plugin.py @@ -252,10 +252,14 @@ class BackupPlugin(obnamlib.ObnamPlugin): 'read exclude patterns from FILE', metavar='FILE', group=backup_group) - self.app.settings.boolean(['exclude-caches'], - 'exclude directories (and their subdirs) ' - 'that contain a CACHEDIR.TAG file', - group=backup_group) + self.app.settings.boolean( + ['exclude-caches'], + 'exclude directories (and their subdirs) ' + 'that contain a CACHEDIR.TAG file (see ' + 'http://www.brynosaurus.com/cachedir/spec.html for what ' + 'it needs to contain, and http://liw.fi/cachedir/ for a ' + 'helper tool)', + group=backup_group) self.app.settings.boolean(['one-file-system'], 'exclude directories (and their subdirs) ' 'that are in a different filesystem', |