summaryrefslogtreecommitdiff
path: root/seivot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-02 13:00:25 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-02 13:00:25 +0100
commit2e2b6904bb3a59d75703e6d451dd377e4cd2a8b6 (patch)
treeb435ef9d8bf3f901d1fbbb58c7315b45674dd44d /seivot
parent41d3586b29221f6e74c1f82f9ee5f3cc0f4956b6 (diff)
downloadseivot-2e2b6904bb3a59d75703e6d451dd377e4cd2a8b6.tar.gz
Add --drop-caches option.
Diffstat (limited to 'seivot')
-rwxr-xr-xseivot5
1 files changed, 5 insertions, 0 deletions
diff --git a/seivot b/seivot
index 955015a..4709c1d 100755
--- a/seivot
+++ b/seivot
@@ -294,6 +294,11 @@ class Seivot(cliapp.Application):
self.settings.add_string_setting(['encrypt-with'],
'encrypt backups with KEYID',
metavar='KEYID')
+
+ self.settings.add_boolean_setting(['drop-caches'],
+ 'clear Linux kernel cache before '
+ 'running commands (will ask for '
+ 'sudo pasword')
def process_args(self, args):
progname = self.settings['program']