Commit d9147b84 authored by bescoto's avatar bescoto

Dean Gaudet fix for --calculate-average


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@527 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent e8327190
......@@ -4,6 +4,12 @@ New in v0.13.5 (2004/??/??)
Added error-correcting fsync suggestion by Antoine Perdaens.
rdiff-backup may work better with NFS now.
Fix by Dean Gaudet for --calculate-average mode (it broke somewhere in
0.13.x).
Fix for regress warning code: rdiff-backup should warn you if you are
trying to back up a directory into itself.
New in v0.13.4 (2004/01/31)
---------------------------
......
......@@ -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.")
......
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