case 'v': {
URL url = null;
try {
AgentUpdateVersion check = new AgentUpdateVersion(agent);
url = check.getVersionUrl();
AgentUpdateInformation info = check.getAgentUpdateInformation();
out.println(MSG.getMsg(AgentI18NResourceKeys.UPDATE_CHECK_INFO, url, info.getUpdateVersion(), info
.getUpdateBuild(), info.getAgentVersion(), info.getAgentBuild()));
if (info.isAgentOutOfDate()) {
out.println(MSG.getMsg(AgentI18NResourceKeys.UPDATE_CHECK_OOD));
} else {
if (info.isAgentOutOfDateStrict()) {
out.println(MSG.getMsg(AgentI18NResourceKeys.UPDATE_CHECK_OOD_STRICT));
} else {
out.println(MSG.getMsg(AgentI18NResourceKeys.UPDATE_CHECK_NOT_OOD));
}
}