Add private key to index uploader

This commit is contained in:
Victor Shcherb 2012-01-03 00:51:41 +01:00
parent f8ed0c6599
commit 7cb98bf761

View file

@ -124,6 +124,8 @@ public class IndexUploader {
uploadCredentials.user = args[i].substring("--user=".length());
} else if (args[i].startsWith("--path=")) {
uploadCredentials.path = args[i].substring("--path=".length());
} else if (args[i].startsWith("--privKey=")) {
((UploadSSHCredentials) uploadCredentials).privateKey = args[i].substring("--privKey=".length());
} else if (args[i].startsWith("--knownHosts=")) {
((UploadSSHCredentials) uploadCredentials).knownHosts = args[i].substring("--knownHosts=".length());
}