summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-21 07:59:50 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-21 07:59:50 +0000
commit6456959c9a4326e13efe49bf8bcf5f8458790496 (patch)
tree93348e663fc66e1899cb6ac815efce9f3f060ccb /rdiff-backup
parent2476db8a9a219df57157866f6b95dc0dccf6c235 (diff)
downloadrdiff-backup-6456959c9a4326e13efe49bf8bcf5f8458790496.tar.gz
Err, this was never a problem, reversed changes
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-6@10 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rwxr-xr-xrdiff-backup/src/main.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/rdiff-backup/src/main.py b/rdiff-backup/src/main.py
index 23b4503..24455f6 100755
--- a/rdiff-backup/src/main.py
+++ b/rdiff-backup/src/main.py
@@ -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)