System.exit(0);
} else {
console.printInfo("Connected to remote instance at http://" + hostname + ":" + port);
}
String remoteInstanceVersion = replClient.version();
if (!remoteInstanceVersion.equals(applicationVersion())) {
console.printError("WARNING: Client version (" + applicationVersion() + ") is different from remote instance version (" + remoteInstanceVersion + ")");
}
return replClient;