Commit 85131eb2 authored by Björn's avatar Björn

adding

parent 5d1ed6cc
......@@ -59,3 +59,5 @@ Error: "tock" not found!
Error: "g" not found!
Error: "tock" not found!
Error: "g" not found!
Error: "tock" not found!
Error: "g" not found!
......@@ -33,7 +33,7 @@ class BackupFiles:
parser = argparse.ArgumentParser()
# define arguments
parser.add_argument('command', help='backup|restore')
parser.add_argument('command', help='backup|restore|list')
parser.add_argument('config', help='full path of config-file')
self._args = parser.parse_args()
......@@ -126,8 +126,10 @@ class BackupFiles:
if (self._args.command == 'backup'):
self._backup()
elif: (self._args.command == 'restore'):
elif (self._args.command == 'restore'):
self._restore()
elif (self._args.command == 'list'):
self._list()
self._clean()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment