diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index 2ff5c58..d591436 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -178,7 +178,8 @@ def check_action(): if l == 2: pass # Will determine restore or backup later else: commandline_error("Switches missing or wrong number of arguments") - elif action == 'test-server': pass # test-server takes any number of args + elif action == 'test-server' or action == 'calculate-average': + pass # these two take any number of args elif l > 2 or action not in arg_action_dict[l]: commandline_error("Wrong number of arguments given.") |