summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-13 19:10:01 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-13 19:10:01 +0000
commitd01923de93a22905ac87a86aaad57e81bd74b431 (patch)
treedf2e72460acf08113f9d3c8ee0bd51976661c485
parentacddf011115d7537bd4d7cae91977c0c897ac047 (diff)
downloadobnam-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.py12
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',