diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-15 23:17:24 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-15 23:17:24 +0000 |
commit | c3beb4a2425f1ca142f1c773ca8205399b48c993 (patch) | |
tree | 11631cdfa3528e8c19b4a43a3eaf2d25c7716d1d /rdiff-backup/src/main.py | |
parent | 036ee5fc7e9a99ceb9e5f8661b76c092bb052e53 (diff) | |
download | rdiff-backup-c3beb4a2425f1ca142f1c773ca8205399b48c993.tar.gz |
Enabled ssh compression by default, increased conn_bufsize.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@88 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/main.py')
-rwxr-xr-x | rdiff-backup/src/main.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rdiff-backup/src/main.py b/rdiff-backup/src/main.py index 72d93ce..a6c1ce0 100755 --- a/rdiff-backup/src/main.py +++ b/rdiff-backup/src/main.py @@ -36,8 +36,9 @@ class Main: "parsable-output", "quoting-char=", "remote-cmd=", "remote-schema=", "remove-older-than=", "restore-as-of=", "resume", "resume-window=", "server", - "terminal-verbosity=", "test-server", "verbosity", - "version", "windows-mode", "windows-time-format"]) + "ssh-no-compression", "terminal-verbosity=", + "test-server", "verbosity", "version", "windows-mode", + "windows-time-format"]) except getopt.error, e: self.commandline_error("Bad commandline options: %s" % str(e)) @@ -100,6 +101,8 @@ class Main: elif opt == '--resume-window': Globals.set_integer('resume_window', arg) elif opt == "-s" or opt == "--server": self.action = "server" + elif opt == "--ssh-no-compression": + Globals.set('ssh_compression', None) elif opt == "--terminal-verbosity": Log.setterm_verbosity(arg) elif opt == "--test-server": self.action = "test-server" elif opt == "-V" or opt == "--version": |