summaryrefslogtreecommitdiff
path: root/obbenchlib
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-01-01 20:25:19 +0200
committerLars Wirzenius <liw@liw.fi>2016-01-01 20:28:38 +0200
commit4f7256a5476cc22de0e37f451c98043dbde35d94 (patch)
tree221b4a7ff832a6c1a246d910efbde7128b2887da /obbenchlib
parent0e1f426bc21c5c6056281e6722e4f2ff04e0aaeb (diff)
downloadobnam-benchmarks-4f7256a5476cc22de0e37f451c98043dbde35d94.tar.gz
Fix --to option when restoring
Diffstat (limited to 'obbenchlib')
-rw-r--r--obbenchlib/benchmarker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py
index 9b3d17c..f8223a6 100644
--- a/obbenchlib/benchmarker.py
+++ b/obbenchlib/benchmarker.py
@@ -157,7 +157,7 @@ class Benchmarker(object):
self.run_obnam(['backup'])
def run_obnam_restore(self):
- self.run_obnam(['restore', '-to', self._restored])
+ self.run_obnam(['restore', '--to', self._restored])
def run_obnam(self, args):
env = dict(os.environ)