Commit ebff7b5d authored by ben's avatar ben

Err, this was never a problem, reversed changes


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@10 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent e739fca2
......@@ -124,16 +124,8 @@ class Main:
elif self.action == "test-server":
SetConnections.TestConnections()
elif self.action == "list-increments":
if len(rps) > 1:
Log.FatalError("The --list-increments option should be used "
"with only one argument,\n"
"the mirror directory to process")
self.ListIncrements(rps[0])
self.ListIncrements(rps[0])
elif self.action == "remove-older-than":
if len(rps) > 1:
Log.FatalError("The --remove-older-than option should be used "
"with only one directory argument,\n"
"the location of the mirror directory.")
self.RemoveOlderThan(rps[0])
else: raise AssertionError("Unknown action " + self.action)
......
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